${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}
%if c.ldap_dn: ${h.text('username',class_='medium disabled', readonly="readonly")} %else: ${h.text('username',class_='medium')} %endif:
${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()}