## -*- coding: utf-8 -*- <%namespace name="base" file="/base/base.mako"/>

${_('User Group: %s') % c.user_group.users_group_name}

${h.secure_form(h.route_path('user_groups_update', user_group_id=c.user_group.users_group_id), id='edit_user_group', method='POST', request=request)}
${h.text('users_group_name',class_='medium')}
${base.gravatar_with_user(c.user_group.user.email, show_disabled=not c.user_group.user.active)}
${h.text('user', class_="medium", autocomplete="off")}

${_('Change owner of this user group.')}

${h.textarea('user_group_description',cols=23,rows=5,class_="medium")} ${_('Short, optional description for this user group.')}
${h.checkbox('users_group_active',value=True)}
${h.text('user_group_add_members', placeholder="user/usergroup", class_="medium")}
% if c.group_members_obj: % for user in c.group_members_obj: % endfor % else: % endif
${_('Username')} ${_('Action')}
${base.gravatar(user.email, 16)} ${h.link_to(h.person(user), h.url( 'edit_user',user_id=user.user_id))}
${_('No members yet')}
${h.submit('Save',_('Save'),class_="btn")}
${h.end_form()}