{!! html()->label('Employeur','sonum') !!}
{!! isset($controle->sonum)?$controle->sonum:$employeur_id !!}
{!! html()->select('sonum',$liste_employeur,isset($controle->sonum)?$controle->sonum:$employeur_id) ->placeholder('A définir')->attributes([($mode=="show"?'disabled':''),'class' => 'form-control']) !!}
{!! html()->label('Date du contrôle','date_cont') !!}
{!! html()->text('date_cont', null)->placeholder('Date du contrôle')->attributes([($mode=="show"?'disabled':''),'class' => 'form-control']) !!}
{!! html()->label('Agent1','agent1') !!} {!! html()->text('agent1', null)->placeholder('Agent1')->attributes([($mode=="show"?'disabled':''),'class' => 'form-control']) !!}
{!! html()->label('Agent2','agent2') !!} {!! html()->text('agent2', null)->placeholder('Agent2')->attributes([($mode=="show"?'disabled':''),'class' => 'form-control']) !!}
{!! html()->label('Date de validation','date_valid') !!}
{!! html()->text('date_valid', null)->placeholder('Date de validation')->attributes([($mode=="show"?'disabled':''),'class' => 'form-control']) !!}
{!! html()->label('Observations','observations') !!} {!! html()->textarea('observations', null)->placeholder('Observations')->attributes([($mode=="show"?'disabled':''),'class' => 'form-control', 'rows'=>'3']) !!}
@if(!$form_pop) @if($mode!="show") {!! html()->button('Enregistrer')->value('Enregistrer')->type('submit')->attributes(['class' => 'btn btn-primary']) !!} @else @if($user->can("COT_SUP") || $user->HasRole("ADMINISTRATEUR")) {{ html()->form('DELETE', url('controles/' . $controle->id))->attributes(['class'=>''])->open() }}    {{ html()->form()->close() }} @endif @if($user->can("COT_MAJ") || $user->HasRole("ADMINISTRATEUR")) Modifier @endif @endif  Retour @endif