##// END OF EJS Templates
Added uri encoding to the username so that usernames with '@' in them (such as email address/users from LDAP) will...
Added uri encoding to the username so that usernames with '@' in them (such as email address/users from LDAP) will not have to replace the first '@' with %40 in order to clone

File last commit:

r2607:7ae36df7 beta
r3048:3f0fe158 beta
Show More
users_group_add.html
55 lines | 1.5 KiB | text/html | HtmlLexer
#56 fixed found bugs, implemented adding of new group + forms+validators...
r959 ## -*- coding: utf-8 -*-
<%inherit file="/base/base.html"/>
<%def name="title()">
${_('Add users group')} - ${c.rhodecode_name}
</%def>
<%def name="breadcrumbs_links()">
White-space cleanup
r1888 ${h.link_to(_('Admin'),h.url('admin_home'))}
&raquo;
${h.link_to(_('Users groups'),h.url('users_groups'))}
#56 fixed found bugs, implemented adding of new group + forms+validators...
r959 &raquo;
${_('add new users group')}
</%def>
<%def name="page_nav()">
${self.menu('admin')}
</%def>
<%def name="main()">
<div class="box">
<!-- box / title -->
<div class="title">
White-space cleanup
r1888 ${self.breadcrumbs()}
#56 fixed found bugs, implemented adding of new group + forms+validators...
r959 </div>
<!-- end box / title -->
${h.form(url('users_groups'))}
<div class="form">
<!-- fields -->
<div class="fields">
<div class="field">
<div class="label">
<label for="users_group_name">${_('Group name')}:</label>
</div>
<div class="input">
${h.text('users_group_name',class_='small')}
</div>
</div>
White-space cleanup
r1888
#56 fixed found bugs, implemented adding of new group + forms+validators...
r959 <div class="field">
<div class="label label-checkbox">
<label for="users_group_active">${_('Active')}:</label>
</div>
<div class="checkboxes">
usergroup form has active checkec by default
r1951 ${h.checkbox('users_group_active',value=True, checked='checked')}
#56 fixed found bugs, implemented adding of new group + forms+validators...
r959 </div>
</div>
White-space cleanup
r1888
#56 fixed found bugs, implemented adding of new group + forms+validators...
r959 <div class="buttons">
removed deprecated ui-button
r2607 ${h.submit('save',_('save'),class_="ui-btn large")}
White-space cleanup
r1888 </div>
#56 fixed found bugs, implemented adding of new group + forms+validators...
r959 </div>
</div>
${h.end_form()}
White-space cleanup
r1888 </div>
</%def>