{!! html()->label( 'Nom Groupe','groupe') !!} {!! html()->select('groupe',App\Models\MyApp::FRAGILITE_GROUPES,null) ->placeholder("A définir") ->attributes([($mode=="show"?'disabled':''), 'class' => 'form-control']) !!}
{!! html()->label( 'Ordre','ordre') !!} {!! html()->text('ordre',null)->attributes([($mode=="show"?'disabled':''), 'class' => 'form-control text-uppercase']) !!}
{!! html()->label( 'Libelle','libelle') !!} {!! html()->text('libelle', null)->placeholder("")->attributes([($mode=="show"?'disabled':''), 'class' => 'form-control']) !!}
{!! html()->label( 'Etat 0pts','etat0') !!} {!! html()->text('etat0',null)->attributes([($mode=="show"?'disabled':''), 'class' => 'form-control']) !!}
{!! html()->label( 'Etat 1pts','etat1') !!} {!! html()->text('etat1',null)->attributes([($mode=="show"?'disabled':''), 'class' => 'form-control']) !!}
{!! html()->label( 'Etat 2pts','etat2') !!} {!! html()->text('etat2',null)->attributes([($mode=="show"?'disabled':''), 'class' => 'form-control']) !!}
@if($mode=="show") @if($user->hasRole("ADMINISTRATEUR") || $user->can("FRG_MAJ")) Modifier @endif @if($user->hasRole("ADMINISTRATEUR") || $user->can("FRG_SUP")) {{ html()->form('DELETE', url('/fragilites/'. $fragilite->id))->open() }} {{ html()->form()->close() }} @endif @else {!! html()->button('Enregistrer')->value('Enregistrer')->type('submit')->attributes(['class' => 'btn btn-primary']) !!} @endif Retour