@inject('formService', 'App\Services\FormService') {{ csrf_field() }}

{{ trans('crud.panels.general_information') }}

{!! Form::text('name', $formService->prefill('name', $source), ['placeholder' => trans('organisations.placeholders.name'), 'class' => 'form-control', 'maxlength' => 191]) !!}
@include('cruds.fields.type', ['base' => \App\Models\Organisation::class, 'trans' => 'organisations'])
{!! Form::select2( 'organisation_id', (isset($model) && $model->organisation ? $model->organisation : $formService->prefillSelect('organisation', $source)), App\Models\Organisation::class, true, 'organisations.fields.organisation' ) !!}
@include('cruds.fields.location') @if ($campaign->enabled('characters'))
{!! Form::members( 'id', [ 'model' => isset($model) ? $model : $formService->prefillModel($source) ] ) !!}
@endif @include('cruds.fields.tags') @include('cruds.fields.attribute_template') @if (Auth::user()->isAdmin())
@include('cruds.fields.private') @endif

{{ trans('crud.panels.appearance') }}

@include('cruds.fields.image')
@include('cruds.fields.entry') @include('cruds.fields.copy')
@include('cruds.fields.save') @section('scripts') @parent @endsection