<%namespace name="base" file="/base/base.mako"/>

### ${base.gravatar_with_user(c.user.username, 16, tooltip=False, _class='pull-left')} - ${_('Additional Email Addresses')}

${base.gravatar(c.user.email, 16)} ${c.user.email} | ${_('Primary')}
%if c.user_email_map: %for em in c.user_email_map:
${base.gravatar(em.email, 16)} ${em.email} | ${h.secure_form(h.route_path('edit_user_emails_delete', user_id=c.user.user_id), request=request)} ${h.hidden('del_email_id', em.email_id)} ${h.end_form()}
%endfor %else:
${_('No additional emails specified')}
%endif

${h.secure_form(h.route_path('edit_user_emails_add', user_id=c.user.user_id), request=request)}
${_('New email address')}:
${h.text('new_email', class_='medium')}
${h.submit('save',_('Add'),class_="btn btn-small")} ${h.reset('reset',_('Reset'),class_="btn btn-small")}
${h.end_form()}