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

54 lines
1011 B
XML

<?xml version='1.0' ?>
<t:chloe xmlns:t="http://factorcode.org/chloe/1.0">
<t:title>New User</t:title>
<t:form t:action="$user-admin/new" autocomplete="off">
<table>
<tr>
<th class="field-label">User name:</th>
<td><t:field t:name="username" /></td>
</tr>
<tr>
<th class="field-label">Real name:</th>
<td><t:field t:name="realname" /></td>
</tr>
<tr>
<th class="field-label">New password:</th>
<td><t:password t:name="new-password" /></td>
</tr>
<tr>
<th class="field-label">Verify:</th>
<td><t:password t:name="verify-password" /></td>
</tr>
<tr>
<th class="field-label">E-mail:</th>
<td><t:field t:name="email" /></td>
</tr>
<tr>
<th class="field-label big-field-label">Capabilities:</th>
<td>
<t:each t:name="capabilities">
<li><t:checkbox t:name="@value" t:label="@value" /><br/>
</t:each>
</td>
</tr>
</table>
<p>
<button type="submit" class="link-button link">Create</button>
<t:validation-errors />
</p>
</t:form>
</t:chloe>