{% if token_fail %}
{% include 'account/components/headers.html' with header="Reset password" subheader="This link is invalid. Get a new link " url_path="account_reset_password" url_text="here." %}
{% else %}
{% csrf_token %}
{% include 'account/components/headers.html' with header="Reset password" subheader="Reset your password below." %}
{% include 'account/components/password1.html' with form=form label="New password" %}
{% include 'account/components/password2.html' with form=form label="Repeat password" %}
{% include 'account/components/redirect_field.html' with redirect_field_name=redirect_field_name redirect_field_value=redirect_field_value %}
{% include 'account/components/submit_button.html' with action="Reset password" form=form %}
{% endif %}