{!! Form::model($gallery, ['url' => $action, 'method' => 'post', 'role' => 'form', 'class' => 'm-form m-form--fit m-form--label-align-right', 'enctype' => 'multipart/form-data']) !!}
{!! Form::text('title', old('title', $gallery->title), ['class' => 'form-control', 'placeholder' => 'Title', 'required'=>'required']) !!}
@if($gallery->id > 0) {!! Form::file('image', ['id'=>'image', 'accept'=>'image/*']) !!} @else {!! Form::file('image', ['id'=>'image', 'accept'=>'image/*']) !!} @endif
{{--@include('admin.common.upload-gallery-modal')--}}
@if(!empty($gallery->image))
@else
@endif
{!! __('Cancel') !!}
{!! Form::close() !!}