{% extends "components/form/form.html" %}
{% load i18n %}

{% block actions %}
<section class="section form__section--last">
  <fieldset class="fieldset form__fieldset">
    {% include "components/form/confirm-button.html" %}

    <a class="link button button--primary" href="{% url 'accounts:password-change' %}">
      {% trans "Change password" %}
    </a>

    {% if favicon_task_allowed %}
    <a class="link button button--primary" href="{% url 'accounts:settings:favicon' %}">
      {% trans "Fetch favicons" %}
    </a>
    {% else %}
    <button class="button button--primary button--disabled" disabled>
      {% trans "Fetch favicons" %}
    </button>
    {% endif %}
  </fieldset>
</section>
{% endblock actions %}
