Évènement
{!!
displaySelect([
'name' => 'engagement_id',
'label' => 'Engagement',
'items' => $engagements,
'errors' => $errors,
'required' => true,
'division' => '3:6:3',
])
!!}
{!! displayInputV2([
'name' => 'string_date',
'label' => 'Date de l\'évènement',
'placeholder' => 'Date de l\'évènement',
'errors' => $errors,
'required' => true,
'division' => '3:6:3',
]) !!}
{!! displayTextarea([
'name' => 'description',
'label' => 'Description de l\'évènement',
'placeholder' => 'Description de l\'évènement',
'errors' => $errors,
'required' => true,
'division' => '3:6:3',
]) !!}
{!!
displayInputFile([
'name' => 'image_file',
'label' => 'Fichier image',
'class' => 'form-image-sfile',
'errors' => $errors,
'division' => '3:6:3',
])
!!}
@if (isset($edit) AND $edit == true)
@if (!empty($evenement->image_path))
@endif
{!!
displayCheckbox([
'label' => 'Supprimer l\'image actuelle',
'general_label' => '',
'name' => 'delete_current_image',
'value' => null,
'errors' => $errors,
'division' => '3:6:3',
])
!!}
@endif
{!!
displaySelect([
'name' => 'statut_id',
'label' => 'Cet evenement modifiera le statut de l\'engagement en :',
'items' => $statuts,
'errors' => $errors,
'required' => true,
'division' => '3:6:3',
])
!!}