${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 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")} |
|
${_('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')} |
![]() |
\ | \ | \ | \ | \
\
\
\
\
\
| \
'""") %> ## ADD HERE DYNAMICALLY NEW INPUTS FROM THE '_tmpl' | |
${_('Add new')} |