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

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

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

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

@include('cruds.fields.image')
@include('cruds.fields.calendar')
@include('cruds.fields.entry')
@include('cruds.fields.copy')
@include('cruds.fields.save')