Merge branch 'master' of git://factorcode.org/git/factor
[factor/jcg.git] / extra / webapps / user-admin / edit-user.xml
blob27b6beaec67feadb597d937dd06761035dcd08f0
1 <?xml version='1.0' ?>
3 <t:chloe xmlns:t="http://factorcode.org/chloe/1.0">
5         <t:title>Edit User</t:title>
7         <t:form t:action="$user-admin/edit" t:for="username" autocomplete="off">
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                 <th class="field-label">New password:</th>
23                 <td><t:password t:name="new-password" /></td>
24         </tr>
25         
26         <tr>
27                 <th class="field-label">Verify:</th>
28                 <td><t:password t:name="verify-password" /></td>
29         </tr>
30         
31         <tr>
32                 <th class="field-label">E-mail:</th>
33                 <td><t:field t:name="email" /></td>
34         </tr>
35         
36         <tr>
37                 <th class="field-label big-field-label">Capabilities:</th>
38                 <td>
39                         <t:each t:name="capabilities">
40                                 <t:checkbox t:name="@value" t:label="@value" /><br/>
41                         </t:each>
42                 </td>
43         </tr>
44         
45         <tr>
46                 <th class="field-label">Profile:</th>
47                 <td><t:inspector t:name="profile" /></td>
48         </tr>
50         </table>
51         
52         <p>
53                 <button type="submit" >Update</button>
54                 <t:validation-errors />
55         </p>
57         </t:form>
59         <t:button t:action="$user-admin/delete" t:for="username">Delete</t:button>
60 </t:chloe>