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
RevLine 
[5ec3a0b]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
[55e98e4]14      <div class="login-content">
[5ec3a0b]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"
[07f5190]24                     value="" i18n:attributes="placeholder"
25                     tal:attributes="value form.data.get('email', '')">
[5ec3a0b]26            </div>
[1d92bf2]27            <div>
28              ${form.errorlist('nickname')}
29              <label for="nickname" i18n:translate="">Nickname</label>
30              <input placeholder="Choose a cool nickname" type="text"
[07f5190]31                     name="nickname" value=""
32                     i18n:attributes="placeholder"
33                     tal:attributes="value form.data.get('nickname', '')">
[1d92bf2]34            </div>
[5ec3a0b]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"
[07f5190]39                     name="firstname" value="" i18n:attributes="placeholder"
40                     tal:attributes="value form.data.get('firstname', '')">
[5ec3a0b]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"
[07f5190]46                     name="lastname" value="" i18n:attributes="placeholder"
47                     tal:attributes="value form.data.get('lastname', '')">
[5ec3a0b]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
[737eb6c]64          <input class="button button-action" type="submit" name="submit" value="Sign up!"
65                 i18n:attributes="value">
[5ec3a0b]66
67        </form>
68
69      </div>
70
71  </metal:content>
72
73</html>
Note: See TracBrowser for help on using the repository browser.