Skip to content

Instantly share code, notes, and snippets.

@pcustic
Created January 16, 2024 12:07
Show Gist options
  • Save pcustic/68cb6536dcad4114296e9c191c4a98de to your computer and use it in GitHub Desktop.
Save pcustic/68cb6536dcad4114296e9c191c4a98de to your computer and use it in GitHub Desktop.
app/templates/auth/reset_password.html
<form action="" method="post" novalidate>
{{ form.hidden_tag() }}
<p>
{{ form.password.label }}<br>
{{ form.password }}
{% for error in form.password.errors %}
<p style="color: red;">{{ error }}</p>
{% endfor %}
</p>
<p>
{{ form.password2.label }}<br>
{{ form.password2 }}
{% for error in form.password2.errors %}
<p style="color: red;">{{ error }}</p>
{% endfor %}
</p>
<p>{{ form.submit() }}</p>
</form>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment