{% load i18n %}{% comment %} The proof a change asks for: a current code, or the password. Each form on the two-factor page carries its own copy, so the fields sit in the section that needs them. Needs "section" (unique on the page). A refused proof is reported only in the section it was sent from. {% endcomment %} {% if failed == section and proof_form.non_field_errors %}