2022-05-03 19:07:12 -06:00

19 lines
646 B
HTML

{% extends "base.html" %}
{% block content %}
<article class="chart">
<header class="chart__heading">
<h1>Update entry</h1>
<a class="action-button destroy" href="{% url 'entry-delete' chart.pk object.pk %}">Delete</a>
</header>
<section>
<form method="POST" action="{{request.get_full_path}}">
{% csrf_token %}
{{form.as_p}}
<p class="form__submit">
<input class="action-button destroy" type="submit" value="Save changes"> or <a href="{% url 'chart-detail' chart.pk %}">cancel</a>
</p>
</form>
</section>
</article>
{% endblock %}