${h.form(url('edit_repo_perms_update', repo_name=c.repo_name), method='put')}
${_('none')} | ${_('read')} | ${_('write')} | ${_('admin')} | ${_('user/user group')} | |
${_('private repository')} | ${_('default')} | ||||
${h.radio('u_perm_%s' % r2p.user.username,'repository.none')} | ${h.radio('u_perm_%s' % r2p.user.username,'repository.read')} | ${h.radio('u_perm_%s' % r2p.user.username,'repository.write')} | ${h.radio('u_perm_%s' % r2p.user.username,'repository.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': | %endif
${h.radio('g_perm_%s' % g2p.users_group.users_group_name,'repository.none')} | ${h.radio('g_perm_%s' % g2p.users_group.users_group_name,'repository.read')} | ${h.radio('g_perm_%s' % g2p.users_group.users_group_name,'repository.write')} | ${h.radio('g_perm_%s' % g2p.users_group.users_group_name,'repository.admin')} | %if h.HasPermissionAny('hg.admin')(): ${g2p.users_group.users_group_name} %else: ${g2p.users_group.users_group_name} %endif | \ | \ | \ | \ | \
\
\
\
\
\
| \
'""") %> ## ADD HERE DYNAMICALLY NEW INPUTS FROM THE '_tmpl' |
${_('Add new')} |