19 lines
547 B
HTML
19 lines
547 B
HTML
{% extends "base.html" %}
|
|
|
|
{% block content %}
|
|
<article>
|
|
<h1>Archive {{object}}</h1>
|
|
<section>
|
|
<form method="POST" action="{% url 'employee-archive' employee.pk %}">
|
|
{% csrf_token %}
|
|
<label>
|
|
Archive?
|
|
{{form.archived}}
|
|
</label>
|
|
<p>
|
|
<input class="action-button" type="submit" value="Save changes"> or <a href="{% url 'employee-detail' employee.pk %}">cancel</a>
|
|
</p>
|
|
</form>
|
|
</section>
|
|
</article>
|
|
{% endblock %} |