{% extends "master.html" %} {% from "_formhelper.html" import render_bootstrap_field %} {% block title %}{{ user.user }}'s settings{% endblock %} {% set tag = "users"%} {% macro render_email(email, form, validated=True) %}
 {{ email.email }} {% if validated %}
{{ form.csrf_token }}
{% if email.email == user.default_email %} {% else %}
{{ form.csrf_token }} set as default
{% endif %} {% else %}
pending verification via email
{{ form.csrf_token }}
{% endif %}
{% endmacro %} {% block content %}
Basic Information
{{ user.user }}
{{ user.fullname }}
Email Addresses Add Email
{% for email in user.emails %} {{ render_email(email, form) }} {% endfor %} {% for email in user.emails_pending %} {{ render_email(email, form, validated=False) }} {% endfor %}
Authentication
{{ render_bootstrap_field(form.ssh_key) }}

{{ form.csrf_token }}

{% if config.get('PAGURE_AUTH')=='local' %} Change password {% endif %}
{% endblock %}