<div class="grid grid-cols-1 md:grid-cols-2 gap-4">
  <div>
    <label class="block text-sm font-medium text-gray-700">Nom</label>
    <input name="name" value="<?php echo e(old('name', $campaign->name ?? '')); ?>" required
      class="mt-1 block w-full rounded border-gray-300 focus:border-indigo-500 focus:ring-indigo-500" />
    <?php $__errorArgs = ['name'];
$__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 class="block text-sm font-medium text-gray-700">Slug</label>
    <input name="slug" value="<?php echo e(old('slug', $campaign->slug ?? '')); ?>" required
      class="mt-1 block w-full rounded border-gray-300 focus:border-indigo-500 focus:ring-indigo-500" />
    <?php $__errorArgs = ['slug'];
$__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 class="md:col-span-2">
    <label class="block text-sm font-medium text-gray-700">Message</label>
    <textarea name="message" rows="4" required
      class="mt-1 block w-full rounded border-gray-300 focus:border-indigo-500 focus:ring-indigo-500"><?php echo e(old('message', $campaign->message ?? '')); ?></textarea>
    <?php $__errorArgs = ['message'];
$__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 class="md:col-span-2">
    <label for="reminder_message" class="block text-sm font-medium text-gray-700">Message de relance (optionnel)</label>
    <textarea id="reminder_message" name="reminder_message" rows="4"
              class="mt-1 block w-full rounded border-gray-300 focus:ring-indigo-500 focus:border-indigo-500"
              placeholder="Ex. : Bonjour … n’ayant pas reçu votre don, nous vous relançons…"><?php echo e(old('reminder_message', $campaign->reminder_message ?? '')); ?></textarea>
    <?php $__errorArgs = ['reminder_message'];
$__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">Nom de l’initiateur (optionnel)</label>
    <input name="initiator_name"
          value="<?php echo e(old('initiator_name', $campaign->initiator_name ?? '')); ?>"
          class="mt-1 block w-full rounded border-gray-300 p-2 focus:border-indigo-500 focus:ring-indigo-500" />
    <?php $__errorArgs = ['initiator_name'];
$__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 class="block text-sm font-medium text-gray-700">Poste de l’initiateur (optionnel)</label>
    <input name="initiator_position"
          value="<?php echo e(old('initiator_position', $campaign->initiator_position ?? '')); ?>"
          class="mt-1 block w-full rounded border-gray-300 p-2 focus:border-indigo-500 focus:ring-indigo-500" />
    <?php $__errorArgs = ['initiator_position'];
$__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 class="block text-sm font-medium text-gray-700">Email de contact (optionnel)</label>
    <input type="email" name="contact_email"
           value="<?php echo e(old('contact_email', $campaign->contact_email ?? '')); ?>"
           class="mt-1 block w-full rounded border-gray-300 p-2 focus:ring-indigo-500 focus:border-indigo-500"/>
    <?php $__errorArgs = ['contact_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">Téléphone de contact (optionnel)</label>
    <input type="text" name="contact_phone"
           value="<?php echo e(old('contact_phone', $campaign->contact_phone ?? '')); ?>"
           class="mt-1 block w-full rounded border-gray-300 p-2 focus:ring-indigo-500 focus:border-indigo-500"/>
    <?php $__errorArgs = ['contact_phone'];
$__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">Couleur de la campagne</label>
    <input type="color" name="color"
           value="<?php echo e(old('color', $campaign->color ?? '#008015')); ?>"
           class="mt-1 block w-16 h-10 p-0 border-0 focus:ring-2 focus:ring-indigo-500"/>
    <?php $__errorArgs = ['color'];
$__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="mb-4 md:col-span-2">
      <label class="block text-sm font-medium text-gray-700">Image de couverture (optionnel)</label>
      <input type="file" name="cover_image" accept="image/*"
            class="mt-1 block w-full border-gray-300 rounded" />
      <?php $__errorArgs = ['cover_image'];
$__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); ?>
      <?php if(!empty($campaign->cover_image)): ?>
        <img src="<?php echo e(asset('storage/'.$campaign->cover_image)); ?>"
            class="mt-2 h-24 object-cover" alt="Couverture">
      <?php endif; ?>
    </div>

    <div class="mb-4 md:col-span-2">
      <label class="block text-sm font-medium text-gray-700">Image remerciement (optionnel)</label>
      <input type="file" name="thank_image" accept="image/*"
            class="mt-1 block w-full border-gray-300 rounded" />
      <?php $__errorArgs = ['thank_image'];
$__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); ?>
      <?php if(!empty($campaign->thank_image)): ?>
        <img src="<?php echo e(asset('storage/'.$campaign->thank_image)); ?>"
            class="mt-2 h-24 object-cover" alt="Remerciement">
      <?php endif; ?>
    </div>

    <div class="mb-4 md:col-span-2">
      <label class="block text-sm font-medium text-gray-700">Image relance (optionnel)</label>
      <input type="file" name="reminder_image" accept="image/*"
            class="mt-1 block w-full border-gray-300 rounded" />
      <?php $__errorArgs = ['reminder_image'];
$__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); ?>
      <?php if(!empty($campaign->reminder_image)): ?>
        <img src="<?php echo e(asset('storage/'.$campaign->reminder_image)); ?>"
            class="mt-2 h-24 object-cover" alt="Relance">
      <?php endif; ?>
    </div>
</div>
<?php /**PATH /home/ecamesuac/public_html/notifications_colloque_uac/resources/views/campaigns/partials/form.blade.php ENDPATH**/ ?>