


<div class="form-group row">
    <div class="col-md-3">
        {!! html()->label('COMPTE','nom_court') !!}
        {!! html()->text('nom_court', null)->attributes([($mode=="show"?'disabled':''),'placeholder' => 'Code du journal', 'class' => 'form-control']) !!}
    </div>
</div>


<div class="form-group row">
    <div class="col-md-6">
        {!! html()->label('Nom','nom') !!}
        {!! html()->text('nom', null)->attributes([($mode=="show"?'disabled':''),'placeholder' => 'Code du journal', 'class' => 'form-control']) !!}
    </div>
</div>


<div class='form-group row'>
    <div class="col-md-12">
        @if($mode!="show")
            {!! html()->button('Enregistrer')->value('Enregistrer')->type('submit')->attributes(['class' => 'btn btn-primary']) !!}
        @else

            @if($user->hasRole("ADMINISTRATEUR") || $user->can("PLA_MAJ"))
                <a class="btn btn-primary"  href="{!! url('journaux/'.$journal->id.'/edit') !!}">Modifier</a>
            @endif
        @endif

        <a class="btn btn-warning"  href="{!! url('journaux') !!}">Retour</a>
    </div>
</div>

