{!! Form::text('name', null, ['class' => 'form-control']) !!} @if ($errors->has('name')) {{$errors->first('name')}} @endif
{!! Form::select('status', ['single'=>'Single + Detail','multi'=>'Multi Image'],null, ['class' => 'form-control']) !!} @if ($errors->has('status')) {{$errors->first('status')}} @endif
@if (isset($data))
{!! Form::hidden('slug', null, ['class' => 'form-control']) !!} @if ($errors->has('slug')) {{$errors->first('slug')}} @endif
@else
{!! Form::text('slug', null, ['class' => 'form-control']) !!} @if ($errors->has('slug')) {{$errors->first('slug')}} @endif
@endif
{!! Form::file('foto', ['class' => 'form-control']) !!} @if ($errors->has('foto')) {{$errors->first('foto')}} @endif
{!! Form::textarea('detail', null, ['class' => 'form-control', "rows"=>"30", "cols"=>"550", 'id'=>'summernote']) !!} @if ($errors->has('detail')) {{$errors->first('detail')}} @endif
@section('scripts') @endsection @section('style') @endsection