


<div class="form-group row">
    <div class="col-md-3">
        <?php echo html()->label('COMPTE','nom_court'); ?>

        <?php echo 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">
        <?php echo html()->label('Nom','nom'); ?>

        <?php echo 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">
        <?php if($mode!="show"): ?>
            <?php echo html()->button('Enregistrer')->value('Enregistrer')->type('submit')->attributes(['class' => 'btn btn-primary']); ?>

        <?php else: ?>

            <?php if($user->hasRole("ADMINISTRATEUR") || $user->can("PLA_MAJ")): ?>
                <a class="btn btn-primary"  href="<?php echo url('journaux/'.$journal->id.'/edit'); ?>">Modifier</a>
            <?php endif; ?>
        <?php endif; ?>

        <a class="btn btn-warning"  href="<?php echo url('journaux'); ?>">Retour</a>
    </div>
</div>

<?php /**PATH C:\xampp\htdocs\SYSINFO\cpswf\sipre2\resources\views/comptabilite/journaux/content.blade.php ENDPATH**/ ?>