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

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

${h.secure_form(url('update_users_group', user_group_id=c.user_group.users_group_id),method='put', id='edit_users_group')}
${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('from_user_group', placeholder="user/usergroup", class_="medium")}
${h.select('users_group_members',[x[0] for x in c.group_members],c.group_members,multiple=True,size=8,)}
${_('Remove all elements')}

${h.select('available_members',[],c.available_members,multiple=True,size=8,)}
${_('Add all elements')}
${h.submit('Save',_('Save'),class_="btn")}
${h.end_form()}