{!! html()->label('Type de visite','type_visite') !!}
{!! html()->select('type_visite',App\Models\MyApp::TYPES_VISITES,null)->placeholder('Non défini')
->attributes([($mode!="create"?'readonly':''),'class' => 'form-control']) !!}
{!! html()->label( 'Statut','statut') !!}
{!! html()->select('statut',["ENC"=>"En-cours de saisie","VAL"=>"Validé"],($mode=="create")?'ENC':null)
->placeholder('A définir')
->attributes(['id' => 'groupe',($mode=="show")?'disabled':'','class' => 'form-control']) !!}
{!! html()->label( 'Observations','observations') !!}
{!! html()->textarea('observations', null)
->placeholder('')
->attributes([($mode=="show"?'disabled':''), 'class' => 'form-control', 'rows'=>'2']) !!}
@if($mode!="create")
{!! html()->label( 'Score','score') !!}
{!! html()->text('score',null)->attributes(['disabled','class' => 'form-control','style'=>'text-align:center']) !!}
{!! html()->label( 'Gestionnaire','id_user') !!}
{!! html()->text('id_user',($mode=="create")?$user->name:$allocataire_fragilite->NomGestionnaire)->attributes(['readonly','class' => 'form-control']) !!}
{!! html()->label( "Saisie",'date_evaluation') !!}
{!! html()->text('date_evaluation', null)->placeholder('')->attributes([($mode=="show"?'disabled':''),'class' => 'form-control','style' => 'text-align:center']) !!}
@endif
@if(($mode!="create")&&(1==0))
C: {{ $allocataire_fragilite->CreatedAtDay }}
M: {{ $allocataire_fragilite->UpdatedAtDay}}
@endif
@if($mode=="show")
@include("fragilite.row_fiche")
@if($mode!="edit")
@include("fragilite.row_graph")
@endif
@else
@include("fragilite.row_fiche")
@endif