{% extends 'base.html' %}

{% block content %}
<article>
    <h1>Update comment</h1>
    <form method="POST" action="{% url 'core:comment-update' comment.pk %}">
        {% csrf_token %}
        {{ form.as_p }}
        <p>
            <input type="submit" value="Save changes"> or <a href="{{ comment.content_object.get_absolute_url }}">cancel</a>
        </p>
    </form>
</article>
{% endblock %}
