${h.form(url('admin_settings_my_account_update'),method='put')}
gravatar

%if c.use_gravatar: ${_('Change your avatar at')} gravatar.com
${_('Using')} ${c.user.email} %else:
${c.user.email} %endif

${c.user.api_key}
${h.text('username',class_="medium")}
${h.password('new_password',class_="medium",autocomplete="off")}
${h.password('password_confirmation',class_="medium",autocomplete="off")}
${h.text('firstname',class_="medium")}
${h.text('lastname',class_="medium")}
${h.text('email',class_="medium")}
${h.submit('save',_('Save'),class_="ui-btn large")} ${h.reset('reset',_('Reset'),class_="ui-btn large")}
${h.end_form()}