Commit d2753173 authored by Bertrand Gauthier's avatar Bertrand Gauthier
Browse files

Structure pour Bootstrap 3.

parent afa643c4
......@@ -12,15 +12,15 @@ $form->setAttributes(array(
'role' => 'form'));
?>
<div class="container col-sm-2">
<?php echo $this->form()->openTag($form) ?>
<?php echo $this->form()->openTag($form) ?>
<?php if (($errors = $this->formErrors($this->loginForm))): ?>
<p>
<?php if (($errors = $this->formErrors($this->loginForm))): ?>
<p>
<?php echo $errors ?>
</p>
<?php endif ?>
</p>
<?php endif ?>
<div class="container col-sm-3">
<div class="form-group">
<?php
......@@ -47,13 +47,13 @@ $form->setAttributes(array(
<?php echo $this->formButton($form->get('submit')->setAttribute('class', 'btn btn-primary')) ?>
<?php echo $this->form()->closeTag() ?>
</div>
<?php if ($this->enableRegistration) : ?>
<?php echo $this->translate("Not registered?"); ?> <a href="<?php echo $this->url('zfcuser/register') . ($this->redirect ? '?redirect='.$this->redirect : '') ?>"><?php echo $this->translate("Sign up!"); ?></a>
<?php endif; ?>
<?php echo $this->form()->closeTag() ?>
</div>
<?php if ($this->enableRegistration) : ?>
<?php echo $this->translate("Not registered?"); ?> <a href="<?php echo $this->url('zfcuser/register') . ($this->redirect ? '?redirect='.$this->redirect : '') ?>"><?php echo $this->translate("Sign up!"); ?></a>
<?php endif; ?>
<script type="text/javascript">
// focus sur le 1er champ vide
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment