Eshop-Laravel/storage/framework/views/f06e546dd1068d3fe6b351463c5bbd648b916e5d.php

47 lines
1.6 KiB
PHP
Raw Normal View History

2019-10-18 09:25:37 +00:00
<?php $__env->startSection('main_content'); ?>
<h1>Add New Menu Link</h1>
<?php if($errors -> any() ): ?>
<div class="alert alert-danger">
<ul>
<?php $__currentLoopData = $errors->all(); $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $error): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
<li><?php echo e($error); ?></li>
<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
</ul>
</div>
<?php endif; ?>
<div class="row">
<div class="col-md-6">
<form action="<?php echo e(url('cms/menu')); ?>" method="post">
<?php echo e(csrf_field()); ?>
<div class="form-group">
<label for="link" class="form-label">Link :</label>
<input value="<?php echo e(old('link')); ?>" id="link" name="link" type="text" class="origin_text form-control">
</div>
<div class="form-group">
<label for="title" class="form-label">Title : </label>
<input value="<?php echo e(old('title')); ?>" id="title" name="title" type="text" class="form-control">
</div>
<div class="form-group">
<label for="url" class="form-label">Url :</label>
<input value="<?php echo e(old('url')); ?>" id="url" name="url" type="text" class="target-text form-control">
</div>
<div class="form-group text-center">
<button type="submit" class="btn btn-primary"><i class="icon-profile"></i> Save Page </button>
</div>
</form>
</div>
</div>
<?php $__env->stopSection(); ?>
<?php echo $__env->make('cms.cms-master', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>