<form class="table-form<?php if (isset($classes)) echo ' '.$classes; ?>" method="post" action="<?php echo url_for('@loginUser')?>">
  <span class="head">Déja inscrit ? connectez-vous</span>
  <?php if($sf_user->hasFlash('login_error')): ?>
    <div class="form-error">
      Votre email et/ou votre mot de passe sont incorrects.
    </div>
  <?php endif;?>
  <div class="field required">
    <label for="login[email]">Email</label>
    <input type="text" name="login[email]" />
  </div>

  <div class="field required">
    <label for="login[password]">Mot de passe</label>
    <input type="password" name="login[password]" />
  </div>

  <input type="hidden" name="header_auth" value="1" />
  <input type="hidden" name="page_uri" value="1" />

  <div class="buttons">
    <?php echo uc_render_submit_button('Validez'); ?>
  </div>
</form>
<div class="register">
      <a class="button" href="<?php echo url_for('@registerUser'); ?>">Créer mon compte</a>
    </div>
