{!! Form::label('title', 'Title', ['class' => 'col-md-2 control-label']) !!}
{!! Form::text('title', null, ['class' => 'form-control', 'required', 'autofocus']) !!} {{ $errors->first('title') }}
{!! Form::label('link', 'Link', ['class' => 'col-md-2 control-label']) !!}
{!! Form::text('link', null, ['class' => 'form-control', '', 'autofocus']) !!} {{ $errors->first('link') }}
{!! Form::label('image', 'Image', ['class' => 'col-md-2 control-label']) !!}
{!! Form::file('image', null, ['class' => 'form-control', '', 'autofocus']) !!} @if(isset($banner->image) && $banner->image != '') @endif {{ $errors->first('image') }}
{!! Form::label('is_published', 'Published', ['class' => 'col-md-2 control-label']) !!}
@if(isset($banner->is_published) && $banner->is_published == 0) {!! Form::checkbox('is_published', null, null) !!} @else {!! Form::checkbox('is_published', null) !!} @endif {{ $errors->first('is_published') }}