{% extends "account/base.html" %} {% load i18n crispy_forms_tags %} {% block title %}{{ block.super }} - {% translate "Set Password" %}{% endblock title %} {% block page_title %}{% translate "Set Password" %}{% endblock page_title %} {% block content %} <form method="POST" action="{% url 'account_set_password' %}" class="password_set"> {% csrf_token %} {{ form | crispy }} <input class="btn btn-primary" type="submit" name="action" value="{% translate "Set Password" %}"/> </form> {% endblock %}