@if ($errors->any()) @endif {!! Form::model($context, [ 'method' => ($context->contextKey() ? 'PATCH' : 'POST'), 'url' => $context->route('patch'), 'class' => 'add-edit-form', 'id' => 'add_edit_'.$context->context() ]) !!} @include('fragments.crud.form.input', [ 'context' => $context ]) {!! Form::submit(trans('action.save'), ['class' => 'btn btn-primary']) !!} @lang('action.cancel') {!! Form::close() !!} @if ($context->has_file_upload()) @include('fragments.form.dropzone.files') @endif