source: OpenWorkouts-current/ow/templates/login.pt @ 8bae554

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

(#67) Allow users to send again the verification link (up to 3 times)
to the email address they provided when signing up.

  • Property mode set to 100644
File size: 2.1 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="login" action="">
17
18          <input type="hidden" name="return_to" value=""
19                 tal:attributes="value redirect_url">
20
21          <div id="messages" class="message message-error"
22               tal:condition="message != ''">
23            <tal:message tal:content="message"></tal:message>
24            <tal:resend-verify tal:condition="resend_verify_link is not None">
25              <br>
26              <a href="" tal:attributes="href resend_verify_link"
27                 i18n:translate="">Please send me the verification link again</a>
28            </tal:resend-verify>
29          </div>
30
31          <fieldset>
32            <div>
33              <label for="email" i18n:translate="">Email</label>
34              <input placeholder="Your email..." type="text" name="email"
35                     value="" i18n:attributes="placeholder"
36                     tal:attributes="value email">
37            </div>
38            <div>
39              <label for="password" i18n:translate="">Password</label>
40              <input placeholder="Your password..." name="password"
41                     type="password" i18n:attributes="placeholder">
42            </div>
43            <div>
44              <input class="button button-action" type="submit" name="submit" value="Login">
45            </div>
46            <a class="login-remember" href="#" i18n:translate="">
47              Forgot your password?</a>
48            <a class="join-now" href="" i18n:translate=""
49               tal:attributes="href request.resource_url(context, 'signup')">
50              Join now!</a>
51
52          </fieldset>
53
54        </form>
55
56      </div>
57
58  </metal:content>
59
60</html>
Note: See TracBrowser for help on using the repository browser.