login.ctp
881 Bytes
<div class="index col-lg-5 col-md-7 col-sm-9">
<h2>
<i class="icon-key"></i> Page de connexion
</h2>
<p>Vous n'êtes pas connecté, veuillez vous authentifier.</p>
<?= $this->Flash->render('auth') ?>
<?= $this->Form->create() ?>
<?php if($configuration->ldap_used) { $label = 'Login (LDAP)'; } else { $label = 'Login'; }?>
<fieldset>
<?= $this->Form->control('ldap', ['label' => $label, 'div' => 'input required']) ?>
<?= $this->Form->control('password', ['label' => 'Mot de passe', 'div' => 'input required']) ?>
</fieldset>
<!--<= $this->Form->submit(__('Se Connecter')); ?>-->
<?= $this->Form->button('Se Connecter',[ 'class'=>'btn btn-outline-success', 'type'=>'submit', 'style' => 'margin: 0px;' ])?>
<?= $this->Form->end() ?>
</div>
<!--
<div class="actions">
<php echo $this->element('menu') ?>
</div>
-->