@php $action = ($type == 'edit') ? route('forms.update', $form->code) : route('forms.store'); $title = ($type == 'edit') ? $form->title : ''; $description = ($type == 'edit') ? str_convert_line_breaks($form->description, false) : ''; @endphp
@if ($type == 'edit') @method('PUT') @endif @csrf
@if ($errors->has('title')) {{ $errors->first('title') }} @endif
@if ($errors->has('description')) {{ $errors->first('description') }} @endif
@section('plugin-scripts') @endsection @section('page-script') @endsection