09d97294e8eec2e7c9b4f55bbe11d1bcecc04a45
[Plinn.git] / Products / Plinn / skins / custom_generic / login_form.pt
1 <html xmlns:tal="http://xml.zope.org/namespaces/tal"
2 xmlns:metal="http://xml.zope.org/namespaces/metal"
3 xmlns:i18n="http://xml.zope.org/namespaces/i18n"
4 metal:use-macro="here/main_template/macros/master">
5 <head>
6 <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
7 </head>
8 <body>
9 <div metal:fill-slot="main_no_tabs" i18n:domain="plinn">
10 <div id="Desktop">
11 <h1 i18n:translate="">Log in</h1>
12 <form action="" method="post" tal:attributes="action string:${here/portal_url}/logged_in">
13 <input type="hidden" name="noAjax" value="1"/>
14 <!-- ****** Enable the automatic redirect ***** -->
15 <span tal:condition="exists: request/came_from">
16 <input type="hidden" name="came_from" value="" tal:attributes="value request/came_from"/>
17 </span>
18 <!-- ****** Enable the automatic redirect ***** -->
19 <input type="hidden" name="just_login" value="True"/>
20 <table class="TwoColumnForm">
21 <tr>
22 <th i18n:translate="user_name">Login</th>
23 <td>
24 <input type="text" name="__ac_name" size="20" value="" tal:attributes="value python: request.get('__ac_name') or ''"/>
25 </td>
26 </tr>
27 <tr>
28 <th i18n:translate="">Password</th>
29 <td>
30 <input type="password" name="__ac_password" size="20"/>
31 </td>
32 </tr>
33 <tr>
34 <td><br/></td>
35 <td>
36 <input type="checkbox" name="__ac_persistent" value="1" checked="checked" id="cb_remember"/>
37 <label for="cb_remember" i18n:translate="">Remember my name.</label>
38 </td>
39 </tr>
40 <tr>
41 <td><br/></td>
42 <td>
43 <input type="submit" name="submit" value=" Login " i18n:attributes="value"/>
44 </td>
45 </tr>
46 </table>
47 </form>
48 <p>
49 <a href="" tal:attributes="href string:${here/portal_url}/request_password_reset_form" i18n:translate="">Forgot your login or password?</a>
50 </p>
51 <p i18n:translate="">
52 Having trouble logging in? Make sure to enable cookies in your web
53 browser.
54 </p>
55 <p i18n:translate="">
56 Don't forget to logout or exit your browser when you're done.
57 </p>
58 <p i18n:translate="">
59 Setting the 'Remember my name' option will set a cookie with your
60 username, so that when you next log in, your user name will already be
61 filled in for you.
62 </p>
63 </div>
64 </div>
65 </body>
66 </html>