@php //dd($errors); @endphp
Proposition envoyée le {{ $sent_proposition->created_at->format('d/m/Y à H\hi') }} par {{ isset($sent_proposition->guest) ? $sent_proposition->guest_prenom : $sent_proposition->participant->prenom_nom }}.

{!! displaySelect([ 'name' => 'type', 'label' => 'Type de proposition', 'items' => Config::get('constants.PROPOSITION_TYPE_STRING'), 'errors' => $errors, 'required' => true ]) !!} @if (isset($proposition) AND $proposition->type == 2)
Image actuelle
@endif {!! displayInputFile([ 'name' => 'image_file', 'label' => 'Fichier image', 'class' => 'form-image-file', 'errors' => $errors, 'required' => 'required', 'display' => false ]) !!} {!! displayInputV2([ 'name' => 'media_link', 'label' => 'URL de la vidéo', 'class' => 'form-video-link', 'placeholder' => 'Lien vers la page de la vidéo', 'errors' => $errors, 'required' => 'required', 'display' => false, 'help' => "Champ obligatoire. Plateformes acceptées : YouTube et DailyMotion." ]) !!} {!! displayTextarea([ 'name' => 'texte', 'label' => 'Texte', 'errors' => $errors, 'required' => 'required', 'placeholder' => 'Texte de la proposition', 'max_size' => 160, 'rows' => 3 ]) !!} {!! displayTextarea([ 'label' => 'Description', 'name' => 'description', 'placeholder' => 'Description de la proposition', 'required' => false, 'errors' => $errors, 'max_size' => 500, 'rows' => 3 ]) !!} {!! displayCheckboxes([ 'general_label' => 'Consultation(s) pour laquelle(lesquelles) proposer cette proposition', 'general_name' => 'consultation_access', 'required' => false, 'is_inline' => false, 'errors' => $errors, 'items' => $consultations, 'default' => $default //'division' => '2:6:4', ]) !!} {!! displayHidden([ 'name' => 'referer', 'value' => URL::previous() ]) !!}