{!! Html::style('js/fileinput/fileinput.css') !!} {!! Html::style('js/fileinput/themes/explorer/theme.css') !!} {!! Html::script('js/fileinput/plugins/sortable.min.js') !!} {!! Html::script('js/fileinput/fileinput.js') !!} {!! Html::script('js/fileinput/themes/explorer/theme.js') !!} {!! Html::style('css/theme.css') !!} {!! Html::style('js/selectize/selectize.default.css') !!}
@if (isset($homes->thumb)) @if ($homes->thumb!="") @if (file_exists(config('config.config_pathUpload').'/homes/'.$pathDate.'/'.$homes->thumb))
@endif @endif @endif
{!! Form::label("thumb", "Thumb", ['class' => 'col-sm-2 control-label','for'=>'thumb']) !!}
{!! Form::file('thumb', ['class' => 'form-control']) !!}
@if (isset($homes->banner)) @if ($homes->banner!="") @if (file_exists(config('config.config_pathUpload').'/homes/'.$pathDate.'/'.$homes->banner)) @endif @endif @endif
{!! Form::label("title", "Title", ['class' => 'col-sm-2 control-label','for'=>'title']) !!}
{!! Form::text("title", null, ['class' => 'form-control','placeholder'=>""]) !!}
{!! Form::label("status", "Status", ['class' => 'col-sm-2 control-label','for'=>'status']) !!}
@if (isset($homes->status)) @if ($homes->status=="Y") {!! Form::checkbox('status', 'Y', true, ['data-render' => 'switchery','data-theme'=>'primary']); !!} @else {!! Form::checkbox('status', 'Y', false, ['data-render' => 'switchery','data-theme'=>'primary']); !!} @endif @else {!! Form::checkbox('status', 'Y', true, ['data-render' => 'switchery','data-theme'=>'primary']); !!} @endif

Images

@if (isset($homes->id)) {{ Form::hidden('hid_home_id', $homes->id, array('id' => 'hid_home_id')) }} @else {{ Form::hidden('hid_home_id', "", array('id' => 'hid_home_id')) }} @endif @if (isset($homes->thumb)) {{ Form::hidden('thumbOld', $homes->thumb, array('id' => 'thumbOld')) }} @endif @if (isset($homes->banner)) {{ Form::hidden('bannerOld', $homes->banner, array('id' => 'bannerOld')) }} @endif