Blame view

mobile/source/modules/users/tmpl/register/user_form.html 1.87 KB
a1684257   Administrator   first commit
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
  <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>