<?php $__env->startSection('title', 'Resultat'); ?>

<?php $__env->startSection('content'); ?>
<div class="pagetitle">
  <h1>Ajout d'un Résultat</h1>
  <nav>
    <ol class="breadcrumb">
      <li class="breadcrumb-item"><a href="<?php echo e(route('dashboard')); ?>">Accueil</a></li>
      <li class="breadcrumb-item">Résultats</li>
      <li class="breadcrumb-item active">Ajout</li>
    </ol>
  </nav>
</div>

<section class="section">
  <div class="row">
    <div class="col-lg-12">
      <div class="card">
        <div class="card-body">
          <h5 class="card-title">Ajouter un résultat à l'action : <strong><?php echo e($action->nom); ?></strong></h5>

          <form method="POST" action="<?php echo e(route('resultats.store')); ?>">
            <?php echo csrf_field(); ?>
			<input type="hidden" name="action_id" value="<?php echo e(old('action_id', $action->id)); ?>">
            <div class="row g-3">
              <div class="col-md-3">
                <label class="form-label">Libellé : </label>
                <input type="text" name="nom" class="form-control" value="<?php echo e(old('nom')); ?>" required>
              </div>

              <div class="col-md-9">
                <label class="form-label">Description</label>
                <input type="text" name="description" class="form-control" value="<?php echo e(old('description')); ?>" >
              </div>
              <div class="text-center mt-4">
                <button type="submit" class="btn btn-primary">Enregistrer</button>
                <button type="reset" class="btn btn-secondary">Réinitialiser</button>
              </div>
            </div>
          </form>

        </div>
      </div>
    </div>
  </div>
</section>
<?php $__env->stopSection(); ?>

<?php echo $__env->make('layouts.app', array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?><?php /**PATH /var/www/html/phaso/resources/views/resultats/create.blade.php ENDPATH**/ ?>