]> gitweb.factorcode.org Git - factor.git/blob - basis/furnace/auth/login/login.xml
Revert "furnace.auth.login: adding some padding"
[factor.git] / basis / furnace / auth / login / login.xml
1 <?xml version='1.0' ?>
2
3 <t:chloe xmlns:t="http://factorcode.org/chloe/1.0">
4
5         <t:title>Login</t:title>
6
7         <t:if t:value="description">
8                 <p>You must log in to <t:label t:name="description" />.</p>
9         </t:if>
10
11         <t:if t:value="capabilities">
12                 <p>Your user must have the following capabilities:</p>
13                 <ul>
14                         <t:each t:name="capabilities">
15                                 <li><t:label t:name="value" /></li>
16                         </t:each>
17                 </ul>
18         </t:if>
19
20         <t:form t:action="login">
21
22                 <table>
23
24                         <tr>
25                                 <th class="field-label">User name:</th>
26                                 <td><t:field t:name="username" /></td>
27                         </tr>
28
29                         <tr>
30                                 <th class="field-label">Password:</th>
31                                 <td><t:password t:name="password" /></td>
32                         </tr>
33
34                 </table>
35
36                 <p>
37
38                         <button type="submit">Log in</button>
39                         <t:validation-errors />
40
41                 </p>
42
43         </t:form>
44
45         <p>
46                 <t:if t:code="furnace.auth.features.registration:allow-registration?">
47                         <t:a t:href="register">Register</t:a>
48                 </t:if>
49                 |
50                 <t:if t:code="furnace.auth.features.recover-password:allow-password-recovery?">
51                         <t:a t:href="recover-password">Recover Password</t:a>
52                 </t:if>
53         </p>
54
55 </t:chloe>