<div class="grid grid-cols-1 md:grid-cols-2 gap-6">
  
  <div>
    <label for="nom" class="block text-sm font-medium text-gray-700">Nom<span class="text-red-500">*</span></label>
    <input id="nom" name="nom" type="text"
      value="<?php echo e(old('nom', $donateur->nom ?? '')); ?>"
      placeholder="Ex : DIOP"
      required
      class="mt-1 block w-full rounded-md border-gray-300 shadow-sm px-3 py-2 focus:outline-none focus:ring-indigo-500 focus:border-indigo-500" />
    <?php $__errorArgs = ['nom'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?><p class="mt-1 text-sm text-red-600"><?php echo e($message); ?></p><?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
  </div>

  
  <div>
    <label for="prenom" class="block text-sm font-medium text-gray-700">Prénom<span class="text-red-500">*</span></label>
    <input id="prenom" name="prenom" type="text"
      value="<?php echo e(old('prenom', $donateur->prenom ?? '')); ?>"
      placeholder="Ex : Fatou"
      required
      class="mt-1 block w-full rounded-md border-gray-300 shadow-sm px-3 py-2 focus:outline-none focus:ring-indigo-500 focus:border-indigo-500" />
    <?php $__errorArgs = ['prenom'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?><p class="mt-1 text-sm text-red-600"><?php echo e($message); ?></p><?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
  </div>

  
  <div>
    <label for="sexe" class="block text-sm font-medium text-gray-700">Genre<span class="text-red-500">*</span></label>
    <select id="sexe" name="sexe" required
      class="mt-1 block w-full rounded-md border-gray-300 shadow-sm p-2 focus:outline-none focus:ring-indigo-500 focus:border-indigo-500">
      <option value="">-- Sélectionnez --</option>
      <option value="M" <?php echo e(old('sexe', $donateur->sexe ?? '') == 'M' ? 'selected' : ''); ?>>Homme</option>
      <option value="F" <?php echo e(old('sexe', $donateur->sexe ?? '') == 'F' ? 'selected' : ''); ?>>Femme</option>
    </select>
    <?php $__errorArgs = ['sexe'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?><p class="mt-1 text-sm text-red-600"><?php echo e($message); ?></p><?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
  </div>

  
  <div>
    <label for="email" class="block text-sm font-medium text-gray-700">Email</label>
    <input id="email" name="email" type="email"
      value="<?php echo e(old('email', $donateur->email ?? '')); ?>"
      placeholder="exemple@domaine.com"
      class="mt-1 block w-full rounded-md border-gray-300 shadow-sm px-3 py-2 focus:outline-none focus:ring-indigo-500 focus:border-indigo-500" />
    <?php $__errorArgs = ['email'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?><p class="mt-1 text-sm text-red-600"><?php echo e($message); ?></p><?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
  </div>

  <div>
    <label class="block text-sm font-medium text-gray-700">Fonction</label>
    <input name="fonction" value="<?php echo e(old('fonction', $donateur->fonction ?? '')); ?>"
          class="mt-1 block w-full rounded border-gray-300 focus:border-indigo-500 focus:ring-indigo-500" />
    <?php $__errorArgs = ['fonction'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?><p class="text-red-600 text-sm"><?php echo e($message); ?></p><?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
  </div>

  
  <div>
    <label for="telephone" class="block text-sm font-medium text-gray-700">Téléphone</label>
    <input id="telephone" name="telephone" type="tel"
      value="<?php echo e(old('telephone', $donateur->telephone ?? '')); ?>"
      placeholder="229xxxxxxxx"
      pattern="229[0-9]{8}"
      class="mt-1 block w-full rounded-md border-gray-300 shadow-sm px-3 py-2 focus:outline-none focus:ring-indigo-500 focus:border-indigo-500" />
    <p class="mt-1 text-xs text-gray-500">Format : 229xxxxxxxx</p>
    <?php $__errorArgs = ['telephone'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?><p class="mt-1 text-sm text-red-600"><?php echo e($message); ?></p><?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
  </div>

  
  <div class="md:col-span-2">
    <label for="groupes" class="block text-sm font-medium text-gray-700">Groupes</label>
    <input id="groupes" name="groupes" type="text"
      value="<?php echo e(old('groupes', isset($donateur) ? $donateur->groups->pluck('name')->join(';') : '')); ?>"
      placeholder="Ex : Campagne A; VIP; Presse"
      class="mt-1 block w-full rounded-md border-gray-300 shadow-sm px-3 py-2 focus:outline-none focus:ring-indigo-500 focus:border-indigo-500" />
    <p class="mt-1 text-xs text-gray-500">Séparez plusieurs groupes par un point-virgule (;).</p>
    <?php $__errorArgs = ['groupes'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?><p class="mt-1 text-sm text-red-600"><?php echo e($message); ?></p><?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
  </div>
</div>
<?php /**PATH /home/ecamesuac/public_html/notifications_colloque_uac/resources/views/donateurs/partials/form.blade.php ENDPATH**/ ?>