source: WAeUP_SRP/trunk/skins/waeup_custom/login_form.pt @ 349

Last change on this file since 349 was 346, checked in by Henrik Bettermann, 18 years ago

remember option removed

File size: 1.9 KB
Line 
1<metal:html>
2
3<metal:body use-macro="here/main_template/macros/master">
4
5<metal:main fill-slot="main"
6      tal:define="username request/username | request/__ac_name | nothing">
7
8  <h1 i18n:translate="heading_login_form">Log in</h1>
9
10  <form id="loginForm" action="" method="post"
11        tal:attributes="action string:${base_url}logged_in">
12
13  <table id="login" class="form"
14         summary="Table for entering login information">
15    <tbody>
16    <tr>
17    <th>
18        <label for="username"
19               i18n:translate="label_user_name">User name</label></th>
20    <td>
21        <input type="text" id="username" name="__ac_name"
22               class="focus" size="20" value=""
23               tal:attributes="value username" /></td>
24    </tr>
25    <tr>
26    <th>
27        <label for="password"
28               i18n:translate="label_password">Password</label></th>
29    <td>
30        <input type="password" id="password" name="__ac_password" size="20"
31               value="" /></td>
32    </tr>
33    </tbody>
34  </table>
35
36  <p class="buttonArea">
37    <!-- ****** Enable the automatic redirect ***** -->
38    <input type="hidden" name="came_from" value=""
39           tal:condition="exists: request/came_from"
40           tal:attributes="value request/came_from" />
41    <!-- ****** Enable the automatic redirect ***** -->
42    <input i18n:attributes="value" class="standalone"
43           type="submit" name="submit" value="button_login" />
44  </p>
45
46  </form>
47
48  <p i18n:translate="help_login_aware_logout">
49    Don't forget to logout or exit your browser when you're done.
50  </p>
51  <p i18n:translate="help_login_troubles_cookies">
52    Having trouble logging in? Make sure to enable cookies in
53    your web browser.
54  </p>
55  <p i18n:translate="">
56    help_password_forgotten
57    <tal:block i18n:name="link_password_forgotten"
58               replace="string:${base_url}account_lost_password_form"/>
59  </p>
60
61</metal:main>
62</metal:body>
63</metal:html>
Note: See TracBrowser for help on using the repository browser.