factor/extra/webapps/user-admin/edit-user.xml

61 lines
1.2 KiB
XML
Raw Normal View History

2008-04-29 22:04:06 -04:00
<?xml version='1.0' ?>
<t:chloe xmlns:t="http://factorcode.org/chloe/1.0">
<t:title>Edit User</t:title>
2008-09-28 19:42:02 -04:00
<t:form t:action="$user-admin/edit" t:for="username" autocomplete="off">
2008-04-30 05:53:01 -04:00
2008-04-29 22:04:06 -04:00
<table>
<tr>
<th class="field-label">User name:</th>
2008-05-26 01:47:27 -04:00
<td><t:label t:name="username" /></td>
2008-04-29 22:04:06 -04:00
</tr>
<tr>
<th class="field-label">Real name:</th>
2008-05-26 01:47:27 -04:00
<td><t:field t:name="realname" /></td>
2008-04-29 22:04:06 -04:00
</tr>
<tr>
<th class="field-label">New password:</th>
2008-05-26 01:47:27 -04:00
<td><t:password t:name="new-password" /></td>
2008-04-29 22:04:06 -04:00
</tr>
<tr>
<th class="field-label">Verify:</th>
2008-05-26 01:47:27 -04:00
<td><t:password t:name="verify-password" /></td>
2008-04-29 22:04:06 -04:00
</tr>
<tr>
<th class="field-label">E-mail:</th>
2008-05-26 01:47:27 -04:00
<td><t:field t:name="email" /></td>
2008-04-29 22:04:06 -04:00
</tr>
2008-05-01 21:03:02 -04:00
<tr>
<th class="field-label big-field-label">Capabilities:</th>
<td>
<t:each t:name="capabilities">
<t:checkbox t:name="@value" t:label="@value" /><br/>
</t:each>
</td>
2008-05-01 21:03:02 -04:00
</tr>
2008-04-29 22:04:06 -04:00
<tr>
<th class="field-label">Profile:</th>
2008-05-26 01:47:27 -04:00
<td><t:inspector t:name="profile" /></td>
2008-04-29 22:04:06 -04:00
</tr>
</table>
<p>
<button type="submit" >Update</button>
<t:validation-errors />
2008-04-29 22:04:06 -04:00
</p>
</t:form>
2008-04-30 05:53:01 -04:00
<t:button t:action="$user-admin/delete" t:for="username">Delete</t:button>
2008-04-29 22:04:06 -04:00
</t:chloe>