{!! html()->label( 'Nom','name') !!} {!! html()->text('name', null)->attributes([($mode=="show"?'disabled':''), 'placeholder' => 'Nom','class' => 'form-control text-uppercase']) !!}
{!! html()->label( 'Email','email') !!} {!! html()->email('email', null)->attributes([($mode=="show"?'disabled':''), 'placeholder' => 'Email','class' => 'form-control text-lowercase']) !!}
{!! html()->label( 'Mot de passe','password') !!} {!! html()->password('password', null)->attributes([($mode=="show"?'disabled':''), 'placeholder' => 'Mot de passe','class' => 'form-control text-lowercase']) !!}
{!! html()->checkbox('change_pwd', null)->attributes([($mode=="show"?'disabled':''),'id' => 'change_pwd', 'class' => 'custom-control-input']) !!}
{!! html()->checkbox('actif', null)->attributes([($mode=="show"?'disabled':''),'id' => 'actif', 'class' => 'custom-control-input']) !!}
{!! html()->label( 'Rôles','roles') !!}
@if($mode=="show") @if($user_sel->IsModifiable) Modifier@endif @else {!! html()->button('Enregistrer')->value('Enregistrer')->type('submit')->attributes(['class' => 'btn btn-primary']) !!} @endif @if(($mode=="show") && $user_sel->IsSupprimable) {{ html()->form('DELETE', url('/users/'. $user_sel->id))->open() }}   {{ html()->form()->close() }} @endif  Retour