${h.form(url('edit_user_group_perms', id=c.user_group.users_group_id),method='put')}
${_('none')} | ${_('read')} | ${_('write')} | ${_('admin')} | ${_('user/user group')} | |||||||
${h.radio('u_perm_%s' % r2p.user.username,'usergroup.none')} | ${h.radio('u_perm_%s' % r2p.user.username,'usergroup.read')} | ${h.radio('u_perm_%s' % r2p.user.username,'usergroup.write')} | ${h.radio('u_perm_%s' % r2p.user.username,'usergroup.admin')} | %if h.HasPermissionAny('hg.admin')() and r2p.user.username != 'default': ${r2p.user.username} %else: ${r2p.user.username if r2p.user.username != 'default' else _('default')} %endif | %if r2p.user.username !='default': | %else: %endif${h.radio('u_perm_%s' % r2p.user.username,'usergroup.none', disabled="disabled")} | ${h.radio('u_perm_%s' % r2p.user.username,'usergroup.read', disabled="disabled")} | ${h.radio('u_perm_%s' % r2p.user.username,'usergroup.write', disabled="disabled")} | ${h.radio('u_perm_%s' % r2p.user.username,'usergroup.admin', disabled="disabled")} | ${r2p.user.username if r2p.user.username != 'default' else _('default')} | ${_('delegated admin')} | %endif
${h.radio('g_perm_%s' % g2p.user_group.users_group_name,'usergroup.none')} | ${h.radio('g_perm_%s' % g2p.user_group.users_group_name,'usergroup.read')} | ${h.radio('g_perm_%s' % g2p.user_group.users_group_name,'usergroup.write')} | ${h.radio('g_perm_%s' % g2p.user_group.users_group_name,'usergroup.admin')} | %if h.HasPermissionAny('hg.admin')(): ${g2p.user_group.users_group_name} %else: ${g2p.user_group.users_group_name} %endif | \ | \ | \ | \ | \
\
\
\
\
\
| \
'""") %> ## ADD HERE DYNAMICALLY NEW INPUTS FROM THE '_tmpl' | |
${_('Add new')} |