{% extends "djohno/base.html" %} {% block content %} {% if sent_successfully %}

Email sent! An email was successfully sent to {{ email }}, but you might want to check that you received it.

{% else %}

Email failed to send. I tried to send an email to {{ email }}, but sending the email failed.

The error message provided was: {{ error }}

{% endif %} {% endblock %}