{% extends 'blog/base.html' %} {% block title %}Share a Post{% endblock %} {% block content %} {% if sent %}

E-mail successfully sent

"{{ post.title }}" was successfully sent to {{ form.cleaned_data.to }}.

{% elif error %}

E-mail failed

{{ error }}

{% else %}
{{ form.as_p }} {% csrf_token %}
{% endif %} {% endblock %}