source: OpenWorkouts-current/ow/templates/signup.pt @ 737eb6c

currentfeature/docs
Last change on this file since 737eb6c was 737eb6c, checked in by Borja Lopez <borja@…>, 5 years ago

Fixed missing translations for submit buttons all over the place.

  • Property mode set to 100644
File size: 2.9 KB
Line 
1<html xmlns="http://www.w3.org/1999/xhtml"
2      xml:lang="en"
3      xmlns:tal="http://xml.zope.org/namespaces/tal"
4      xmlns:metal="http://xml.zope.org/namespaces/metal"
5      xmlns:i18n="http://xml.zope.org/namespaces/i18n"
6      i18n:domain="OpenWorkouts"
7      metal:use-macro="load: base_anonymous.pt"
8      tal:attributes="lang request.locale_name">
9
10  <metal:content metal:fill-slot="content">
11
12      <!-- Login -->
13
14      <div class="login-content">
15
16        <form method="post" name="signup" action="">
17
18          <fieldset>
19            <div>
20              ${form.errorlist('email')}
21              <label for="email" i18n:translate="">Email</label>
22              <input placeholder="We need a valid email address"
23                     type="text" name="email"
24                     value="" i18n:attributes="placeholder"
25                     tal:attributes="value form.data.get('email', '')">
26            </div>
27            <div>
28              ${form.errorlist('nickname')}
29              <label for="nickname" i18n:translate="">Nickname</label>
30              <input placeholder="Choose a cool nickname" type="text"
31                     name="nickname" value=""
32                     i18n:attributes="placeholder"
33                     tal:attributes="value form.data.get('nickname', '')">
34            </div>
35            <div>
36              ${form.errorlist('firstname')}
37              <label for="firstname" i18n:translate="">First name</label>
38              <input placeholder="Your real first name here" type="text"
39                     name="firstname" value="" i18n:attributes="placeholder"
40                     tal:attributes="value form.data.get('firstname', '')">
41            </div>
42            <div>
43              ${form.errorlist('lastname')}
44              <label for="lastname" i18n:translate="">Last name</label>
45              <input placeholder="Your family name here" type="text"
46                     name="lastname" value="" i18n:attributes="placeholder"
47                     tal:attributes="value form.data.get('lastname', '')">
48            </div>
49            <div>
50              ${form.errorlist('password')}
51              <label for="password" i18n:translate="">Password</label>
52              <input placeholder="More than 9 characters, numbers and/or symbols"
53                     name="password"
54                     type="password" i18n:attributes="placeholder">
55            </div>
56            <div>
57              ${form.errorlist('password_confirm')}
58              <label for="password_confirm" i18n:translate="">Password (confirm)</label>
59              <input placeholder="Confirm your password" name="password_confirm"
60                     type="password" i18n:attributes="placeholder">
61            </div>
62          </fieldset>
63
64          <input class="button button-action" type="submit" name="submit" value="Sign up!"
65                 i18n:attributes="value">
66
67        </form>
68
69      </div>
70
71  </metal:content>
72
73</html>
Note: See TracBrowser for help on using the repository browser.