user_form.html 1.87 KB
<span class="z1">Регистрация</span>
<div class="registration" tal:condition="register_form">
<form action="" method="post">
<input type="hidden" name="history" tal:attributes="value history|" />
<input type="hidden" name="send" value="1" />
<table width="800">
  <tr>
    <td width="80">Логин:</td>
    <td width="270"><input type="text" class="reg" name="u_login" id="u_login" tal:attributes="value u_login|"  /></td>
    <td><span class="error" tal:condition="exists:error_login" tal:content="error_login|">Логин уже используется</span></td>
  </tr>
  <tr>
    <td>e-mail:</td>
    <td><input type="text" class="reg" name="u_email" id="u_email" tal:attributes="value u_email|" /></td>
    <td><input name="delivery" type="checkbox" tal:attributes="checked delivery|"  value="1" id="spam" />
    <label for="spam"> хочу получать рассылку </label><span tal:condition="exists:error_email" tal:content="error_email|" class="error">Неправильный формат адреса</span></td>
  </tr>
  <tr>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
  </tr>
  <tr>
    <td>Пароль:</td>
    <td><input type="password" class="reg" name="u_pass" id="u_pass" /></td>
    <td>&nbsp;</td>
  </tr>
  <tr>
    <td>Пароль<br />повтороно:</td>
    <td><input type="password" class="reg" name="u_pass_re" id="u_pass_re" /></td>
    <td><span tal:condition="exists:error_pass" tal:content="error_pass|" class="error">Пароли не совпадают</span></td>
  </tr>
  <tr>
    <td>&nbsp;</td>
    <td><input name="" type="submit" value="Зарегистрироваться" class="go"  /></td>
    <td>&nbsp;</td>
  </tr>
</table>
</form>
</div>

<div class="registration" tal:condition="not:register_form">
  Спасибо за регистрацию! <a tal:attributes="href history">Продолжить</a>
</div>