## -*- coding: utf-8 -*- <%inherit file="/base/base.html"/> <%def name="title()"> ${_('Edit users group')} ${c.users_group.users_group_name} - ${c.rhodecode_name} <%def name="breadcrumbs_links()"> ${h.link_to(_('Admin'),h.url('admin_home'))} » ${h.link_to(_('UsersGroups'),h.url('users_groups'))} » ${_('edit')} "${c.users_group.users_group_name}" <%def name="page_nav()"> ${self.menu('admin')} <%def name="main()">
${self.breadcrumbs()}
${h.form(url('users_group', id=c.users_group.users_group_id),method='put', id='edit_users_group')}
${h.text('users_group_name',class_='small')}
${h.checkbox('users_group_active',value=True)}
${_('Choosen group members')}
${h.select('users_group_members',[x[0] for x in c.group_members],c.group_members,multiple=True,size=8,style="min-width:210px")}
${_('Remove all elements')} remove
add
remove
${_('Available members')}
${h.select('available_members',[],c.available_members,multiple=True,size=8,style="min-width:210px")}
add ${_('Add all elements')}
${h.submit('save',_('save'),class_="ui-btn large")}
${h.end_form()}
${_('Permissions')}
${h.form(url('users_group_perm', id=c.users_group.users_group_id), method='put')}
${h.checkbox('create_repo_perm',value=True)}
${h.submit('save',_('Save'),class_="ui-btn large")} ${h.reset('reset',_('Reset'),class_="ui-btn large")}
${h.end_form()}
${_('Group members')}