{% extends 'base.html' %} {% block content %} <section id="main" class="wrapper"> <div class="container"> <header class="minor"> <h2>Enter New Password</h2> </header> <section> {% if validlink %} <form method="POST"> {% csrf_token %} {{ form.as_p }} <input type="submit" value="Submit"> </form> {% else %} <p>The password reset link was invalid, possibly because it has already been used. Please request a new password reset.</p> {% endif %} </section> </div> </section> {% endblock %}