{% extends 'base.html' %}

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