Current File : /home/itiffy/public_html/storage/framework/views/89fa7cee8adaf051fbc67ed48279c8212a28e48a.php |
<?php $__env->startSection('content'); ?>
<div class="row">
<div class="col-sm-10 col-sm-offset-2">
<h1><?php echo e(trans('quickadmin::templates.templates-view_edit-edit')); ?></h1>
<?php if($errors->any()): ?>
<div class="alert alert-danger">
<ul>
<?php echo implode('', $errors->all('<li class="error">:message</li>')); ?>
</ul>
</div>
<?php endif; ?>
</div>
</div>
<?php echo Form::model($home, array('class' => 'form-horizontal', 'id' => 'form-with-validation', 'method' => 'PATCH', 'route' => array(config('quickadmin.route').'.home.update', $home->id))); ?>
<div class="form-group">
<?php echo Form::label('banner1', 'Banner 1*', array('class'=>'col-sm-2 control-label')); ?>
<div class="col-sm-10">
<?php echo Form::textarea('banner1', old('banner1',$home->banner1), array('class'=>'form-control ckeditor')); ?>
</div>
</div><div class="form-group">
<?php echo Form::label('banner2', 'Banner 2*', array('class'=>'col-sm-2 control-label')); ?>
<div class="col-sm-10">
<?php echo Form::textarea('banner2', old('banner2',$home->banner2), array('class'=>'form-control ckeditor')); ?>
</div>
</div><div class="form-group">
<?php echo Form::label('banner3', 'Banner 3*', array('class'=>'col-sm-2 control-label')); ?>
<div class="col-sm-10">
<?php echo Form::textarea('banner3', old('banner3',$home->banner3), array('class'=>'form-control ckeditor')); ?>
</div>
</div><div class="form-group">
<?php echo Form::label('banner3', 'Banner 4*', array('class'=>'col-sm-2 control-label')); ?>
<div class="col-sm-10">
<?php echo Form::textarea('banner3', old('banner3',$home->banner3), array('class'=>'form-control ckeditor')); ?>
</div>
</div><div class="form-group">
<?php echo Form::label('section1', 'Section 1*', array('class'=>'col-sm-2 control-label')); ?>
<div class="col-sm-10">
<?php echo Form::textarea('section1', old('section1',$home->section1), array('class'=>'form-control ckeditor')); ?>
</div>
</div><div class="form-group">
<?php echo Form::label('section2', 'Section 2*', array('class'=>'col-sm-2 control-label')); ?>
<div class="col-sm-10">
<?php echo Form::textarea('section2', old('section2',$home->section2), array('class'=>'form-control ckeditor')); ?>
</div>
</div><div class="form-group">
<?php echo Form::label('section3', 'Section 3*', array('class'=>'col-sm-2 control-label')); ?>
<div class="col-sm-10">
<?php echo Form::textarea('section3', old('section3',$home->section3), array('class'=>'form-control ckeditor')); ?>
</div>
</div><div class="form-group">
<?php echo Form::label('section4', 'Section 3*', array('class'=>'col-sm-2 control-label')); ?>
<div class="col-sm-10">
<?php echo Form::textarea('section4', old('section4',$home->section4), array('class'=>'form-control ckeditor')); ?>
</div>
</div><div class="form-group">
<?php echo Form::label('section6', 'Section 6*', array('class'=>'col-sm-2 control-label')); ?>
<div class="col-sm-10">
<?php echo Form::textarea('section6', old('section6',$home->section6), array('class'=>'form-control ckeditor')); ?>
</div>
</div>
<div class="form-group">
<div class="col-sm-10 col-sm-offset-2">
<?php echo Form::submit(trans('quickadmin::templates.templates-view_edit-update'), array('class' => 'btn btn-primary')); ?>
<?php echo link_to_route(config('quickadmin.route').'.home.index', trans('quickadmin::templates.templates-view_edit-cancel'), null, array('class' => 'btn btn-default')); ?>
</div>
</div>
<?php echo Form::close(); ?>
<?php $__env->stopSection(); ?>
<?php echo $__env->make('admin.layouts.master', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>