## -*- coding: utf-8 -*- <%inherit file="/base/base.html"/> <%def name="title()"> ${_('Add user')} %if c.rhodecode_name: · ${h.branding(c.rhodecode_name)} %endif <%def name="breadcrumbs_links()"> ${h.link_to(_('Admin'),h.url('admin_home'))} » ${h.link_to(_('Users'),h.url('users'))} » ${_('Add User')} <%def name="menu_bar_nav()"> ${self.menu_items(active='admin')} <%def name="main()">
${self.breadcrumbs()}
${h.secure_form(url('users'))}
${h.text('username', class_='medium')}
${h.password('password', class_='medium')}
${h.password('password_confirmation',autocomplete="off", class_='medium')}
${h.text('firstname', class_='medium')}
${h.text('lastname', class_='medium')}
${h.text('email', class_='medium')} ${h.hidden('extern_name', c.default_extern_type)} ${h.hidden('extern_type', c.default_extern_type)}
${h.checkbox('active',value=True,checked='checked')}
${h.checkbox('password_change',value=True)} ${_('Force user to change his password on the next login')}
${h.checkbox('create_repo_group',value=True)} ${_('Add repository group with the same name as username. \nUser will be automatically set as this group owner.')}
${h.submit('save',_('Save'),class_="btn")}
${h.end_form()}