{% 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 }}.

{% else %}

Share "{{ post.title }}" by e-mail

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