{% extends request.is_ajax|yesno:"blank.html,index.html" %} {% block content %}
Notes

{{ note.title }}

Done
{% csrf_token %} {{ form }} {% if form.is_bound %} Delete {% endif %}
{% endblock content %}