{!! html()->label( 'Nom Groupe','groupe') !!} {!! html()->text('groupe',null)->attributes([($mode=="show"?'disabled':''), 'class' => 'form-control text-uppercase']) !!}
{!! html()->label( 'Option (compléter si plusieurs choix)','option') !!} {!! html()->text('option',null)->attributes([($mode=="show"?'disabled':''), 'class' => 'form-control']) !!}
{!! html()->label( 'Code','code') !!} {!! html()->text('code', null)->placeholder("")->attributes([($mode=="show"?'disabled':''), 'class' => 'form-control']) !!}
{!! html()->label( 'Nom','nom') !!} {!! html()->text('nom', null)->placeholder("")->attributes([($mode=="show"?'disabled':''), 'class' => 'form-control']) !!}
{!! html()->label( 'Ordre','ordre') !!} {!! html()->text('ordre',null)->attributes([($mode=="show"?'disabled':''), 'class' => 'form-control text-uppercase']) !!}
@php $t_grp=App\Models\MyApp::GROUPE_GIR; $t_modalite=App\Models\MyApp::GROUPE_MODALITE; @endphp @foreach($t_grp as $grp) @endforeach @foreach($t_modalite as $modalite) @foreach($t_grp as $grp) @endforeach @endforeach
Valeur
ModalitĂ©Groupe {{ $grp }}
{{ $modalite }} {!! html()->text('valeur_'.strtolower($grp.$modalite), null)->attributes([($mode=="show"?'disabled':''), 'style' => 'text-align:right', 'class' => 'form-control']) !!}
{!! html()->label( 'Description','description') !!} {!! html()->textarea('description', null)->placeholder("Nom")->attributes([($mode=="show"?'disabled':''), 'class' => 'form-control', 'rows' => '2']) !!}
@if($mode=="show") @if($user->hasRole("ADMINISTRATEUR") || $user->can("DIS_MAJ")) Modifier @endif @if($user->hasRole("ADMINISTRATEUR") || $user->can("DIS_SUP")) {{ html()->form('DELETE', url('/aggirs/'. $aggir->id))->open() }} {{ html()->form()->close() }} @endif @else {!! html()->button('Enregistrer')->value('Enregistrer')->type('submit')->attributes(['class' => 'btn btn-primary']) !!} @endif Retour