{% extends 'base.html' %}

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