]> gitweb.factorcode.org Git - factor.git/blob - extra/furnace/auth/features/edit-profile/edit-profile.xml
a9d7994e970128165acad686218a1d00ffd0812e
[factor.git] / extra / furnace / auth / features / edit-profile / edit-profile.xml
1 <?xml version='1.0' ?>
2
3 <t:chloe xmlns:t="http://factorcode.org/chloe/1.0">
4
5         <t:title>Edit Profile</t:title>
6
7         <t:form t:action="$realm/edit-profile">
8
9         <table>
10         
11         <tr>
12                 <th class="field-label">User name:</th>
13                 <td><t:label t:name="username" /></td>
14         </tr>
15         
16         <tr>
17                 <th class="field-label">Real name:</th>
18                 <td><t:field t:name="realname" /></td>
19         </tr>
20         
21         <tr>
22                 <td></td>
23                 <td>Specifying a real name is optional.</td>
24         </tr>
25         
26         <tr>
27                 <th class="field-label">Current password:</th>
28                 <td><t:password t:name="password" /></td>
29         </tr>
30         
31         <tr>
32                 <td></td>
33                 <td>If you don't want to change your current password, leave this field blank.</td>
34         </tr>
35         
36         <tr>
37                 <th class="field-label">New password:</th>
38                 <td><t:password t:name="new-password" /></td>
39         </tr>
40         
41         <tr>
42                 <th class="field-label">Verify:</th>
43                 <td><t:password t:name="verify-password" /></td>
44         </tr>
45         
46         <tr>
47                 <td></td>
48                 <td>If you are changing your password, enter it twice to ensure it is correct.</td>
49         </tr>
50         
51         <tr>
52                 <th class="field-label">E-mail:</th>
53                 <td><t:field t:name="email" /></td>
54         </tr>
55         
56         <tr>
57                 <td></td>
58                 <td>Specifying an e-mail address is optional. It enables the "recover password" feature.</td>
59         </tr>
60         
61         </table>
62
63         <p>
64                 <input type="submit" value="Update" />
65                 <t:validation-messages />
66         </p>
67
68         </t:form>
69         
70         <t:if t:code="furnace.auth.features.deactivate-user:allow-deactivation?">
71                 <t:button t:action="$realm/deactivate-user">Delete User</t:button>
72         </t:if>
73 </t:chloe>