##// END OF EJS Templates
Pass in old groups data to CanWriteToGroup validator for later skipping group checks....
Pass in old groups data to CanWriteToGroup validator for later skipping group checks. This will be a part of refactoring done to do user permissions changes without messing with main repo form data

File last commit:

r3410:5f1850e4 beta
r3524:af96fb19 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()">
Mads Kiilerich
"Users groups" is grammatically incorrect English - rename to "user groups"...
r3410 ${_('Add user group')} - ${c.rhodecode_name}
#56 fixed found bugs, implemented adding of new group + forms+validators...
r959 </%def>
<%def name="breadcrumbs_links()">
White-space cleanup
r1888 ${h.link_to(_('Admin'),h.url('admin_home'))}
&raquo;
Mads Kiilerich
"Users groups" is grammatically incorrect English - rename to "user groups"...
r3410 ${h.link_to(_('User groups'),h.url('users_groups'))}
#56 fixed found bugs, implemented adding of new group + forms+validators...
r959 &raquo;
Mads Kiilerich
"Users groups" is grammatically incorrect English - rename to "user groups"...
r3410 ${_('add new user group')}
#56 fixed found bugs, implemented adding of new group + forms+validators...
r959 </%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>