haproxy-wi/app/templates/include/admin_add_user.html

38 lines
853 B
HTML

{% from 'include/input_macros.html' import input, checkbox %}
<tr>
<td colspan="2">
<p class="validateTips alert alert-success">
Form fields tag "<span class="need-field">*</span>" are required.
</p>
</td>
</tr>
<tr>
<td class="padding20">
New user
<span class="need-field">*</span>
</td>
<td>
{{ input('new-username') }}
{% if ldap_enable == '1' %}
<a href="#" title="Search user in AD" id="search_ldap_user">Search user in AD</a>
{% endif %}
</td>
</tr>
<tr>
<td class="padding20">
Password
<span class="need-field">*</span>
</td>
<td>{{ input('new-password', type='password') }}</td>
</tr>
<tr>
<td class="padding20">Active</td>
<td>{{ checkbox('activeuser', checked='checked') }}</td>
</tr>
<tr>
<td class="padding20">
Email
<span class="need-field">*</span>
</td>
<td>{{ input('new-email') }}</td>
</tr>