{% extends 'prefs.html' %}
{% from 'include/panel.html' import panel %}
{% set active_panelid='general' %}
{% block panel %}
  {% include 'message.html' %}
  {# Panel to set user info. #}
  {% call panel(title=_("Account settings"), description=_("General information about your account.")) %}
    <div class="panel-body">
      <form action="#" method="post" role="form">
        {{ profile_form }}
      </form>
    </div>
  {% endcall %}
  {# Panel to change password. #}
  {% call panel(title=_("Password"), description=_("Change your current password")) %}
    <div class="panel-body">
      <form action="#" method="post" role="form" class="clearfix">
        {{ password_form }}
      </form>
    </div>
  {% endcall %}
  {# Panel to refresh repository list. #}
  {% call panel(title=_("Refresh")) %}
    <div class="panel-body">
      <form action="#" method="post" role="form">
        {{ refresh_form }}
      </form>
    </div>
  {% endcall %}
{% endblock %}
