Advertisement
Guest User

Untitled

a guest
May 10th, 2021
156
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 1.86 KB | None | 0 0
  1. <?= $this->extend('layouts/dashboard') ?>
  2. <?= $this->section('content')?>
  3.  
  4. <div class="flex flex-col items-center bg-gray-50 md:bg-white ">
  5.  
  6.   <form action="/Services/ajout" method="post" class ="flex flex-col bg-gray-50 md:shadow-md reounded-md items-center h-auto w-1/2 p-3 px-10 m-10">
  7.     <?= csrf_field() ?>
  8.     <input  name ="titre" type="text" placeholder="Titre du service" class="m-2 p-2 rounded-md  border-2 border-blue-400 focus:border-blue-500 shadow-md w-full ">
  9.    
  10.     <textarea name="description" id="" cols="30" rows="10" placeholder="Description du service" class="m-2 p-2 rounded-md  border-2 border-blue-400 focus:border-blue-500 shadow-md  w-full"></textarea>
  11.    
  12.     <select name="categorie" id="" class="m-2 p-2 rounded-md  border-2 border-blue-400 focus:border-blue-500 shadow-md  w-full">
  13.       <option value="massonerie" >Massonerie</option>
  14.       <option value="elecricite">Electricité</option>
  15.       <option value="peinture">Peinture</option>
  16.     </select>
  17.    
  18.     <input name="tarif" type="text" placeholder="Tarif du service en DA" class="m-2 p-2 rounded-md  border-2 border-blue-400 focus:border-blue-500 shadow-md  w-full">
  19.    
  20.     <input name="duree" type="text" placeholder="Durée de delivration en Jours" class="m-2 p-2 rounded-md  border-2 border-blue-400 focus:border-blue-500 shadow-md  w-full">
  21.    
  22.     <input name="dureevalidite" type="text" placeholder="Durée de validité en Jours" class="m-2 p-2 rounded-md  border-2 border-blue-400 focus:border-blue-500 shadow-md  w-full">
  23.    
  24.     <input class="m-2 p-2 px-3 rounded-md shadow-md bg-gray-100 w-full p-3 " type="file" name="image">
  25.    
  26.     <button name="ajoutservice" type="submit" class="rounded-md shadow-md bg-green-400 text-white m-2 p-2 px-3 hover:bg-green-300 font-semibold l">Ajouter le service </button>
  27.    
  28.   </form>
  29. </div>
  30.  
  31. <?= $this->endSection() ?>
  32.  
  33.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement