@extends('admin.template.master') @section('stylesheets') {!! Html::style('assets/admin/bower_components/select2/dist/css/select2.min.css') !!} @endsection @section('title')

Home Page Section insert and update Home Page CMS

@endsection @section('main-content')

Edit

{!! Form::open(['method' => 'PUT', 'url' => '/admin/homepage-sections/' .$homePageSection->section_id]) !!}
{!! Form::label('Section Name') !!} {!! Form::text('section_name', $homePageSection->section_name, ['class' => 'form-control', 'placeholder' => 'Enter section name']) !!} @if ($errors->has('section_name')){!! $errors->first('section_name') !!}@endif
{!! Form::hidden('name_show', $homePageSection->name_show, ['id' => 'name_show']) !!}
{!! Form::label('Section Position') !!} @if ($errors->has('section_position')){!! $errors->first('section_position') !!}@endif
{!! Form::label('Status') !!} {!! Form::select('section_is_exist', [1 => 'Active', 0 => 'Inactive'], isset($homePageSection->section_is_exist) ? $homePageSection->section_is_exist : null, ['class' => 'form-control']) !!}
{!! Form::label('CMS Editor Title') !!} {!! Form::select('cms_editor_id', $cmsEditor, $cms_editor_id, ['placeholder' => 'Select CMS Title','class' => 'form-control', 'id' => 'cms_editor']) !!}
{!! Form::close() !!}
@endsection @section('javascripts') {!! Html::script('assets/admin/bower_components/select2/dist/js/select2.full.min.js') !!} @endsection