{% extends "notes/base.html" %} {%load crispy_forms_tags%} {% block content %}

{{answer.content|safe}}

by {{answer.user}}

{% csrf_token %}
{%if answer.isaccepted is not True%} Accept answer? {%else%} Unaccept answer? {%endif%} {{form.media}} {{ form|crispy }}
{%if answer.isaccepted is not True%} {%else%} {%endif%}
{% endblock content %}