iredadmin-ose / templates / default / ldap / user_create.html

{# allDomains, domain, default_quota, [username, newpw, confirmpw, ] #}
{% extends "layout.html" %}

{% from "macros.html" import display_cn,
        display_quota, %}

{% block js %}{% endblock js %}
{% block js_tablesorter %}{% endblock %}
{% block jquery_docoment_ready %} {% endblock %}
{% block submenu %}{% endblock submenu %}

{% block title %}{{ _('Create new mail user') }}{% endblock title %}

{% block main %}
<div class="main-subhead">
    <h2 class="hn"><span>{{ _('Create new mail user') }}</span></h2>

{# Display input field for adding new domain. #}
<div class="main-frm">
    <form class="frm-form" method="post" action="{{ctx.homepath}}/create/user">
    {{ display_password_policy(

    <fieldset class="frm-group group1">
        <legend class="group-legend"><strong>{{ _('Mail address') }}</strong></legend>
        <div class="sf-set set1">
            <div class="sf-box text required">
                <label><span>{{ _('Mail address') }} <em>{{ _('(Required)') }}</em></span></label>
                <span class="fld-input"><input type="text" size="25" name="username" value="{{username}}" />@
                    <select name="domainName">
                        {% for d in allDomains %}
                            <option value="{{d[1].domainName[0]}}" {% if d[1].domainName[0] == domainName %}selected{%endif%}>{{d[1].domainName[0]}}</option>
                        {% endfor %}

    {{ display_cn(value=cn, accountType='user') }}

    {{ display_quota(

    {{ display_reset_password(firstitem='no') }}

    <div class="frm-buttons">
        <span class="submit">
            <input type="submit" value="{{ _('Create') }}" />


{% endblock main %}
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.