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

<?php $__env->startSection('content'); ?>
    <h1>Nouveau temoignage</h1>
    <p class="muted">Sera visible dans le carrousel de la page d'accueil si publie.</p>

    <?php if($errors->any()): ?>
        <div style="background:#fee2e2;color:#991b1b;padding:12px 16px;border-radius:10px;margin-bottom:16px;font-size:14px;">
            <?php echo e($errors->first()); ?>

        </div>
    <?php endif; ?>

    <div class="card">
        <form method="post" action="<?php echo e(route('admin.testimonials.store')); ?>" enctype="multipart/form-data">
            <?php echo csrf_field(); ?>
            <?php echo $__env->make('admin.testimonials._form', ['testimonial' => $testimonial], array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?>
            <button type="submit" class="btn">Enregistrer</button>
            <a href="<?php echo e(route('admin.testimonials.index')); ?>" style="margin-left:12px;">Annuler</a>
        </form>
    </div>
<?php $__env->stopSection(); ?>

<?php echo $__env->make('admin.layout', array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?><?php /**PATH C:\Softsys\new_pirras\resources\views/admin/testimonials/create.blade.php ENDPATH**/ ?>