{% extends "chem/base.html" %}

{% block content %}
    {% if error_message %}
        {{ error_message }}
    {% endif %}

    {% for part in job %}
        {{ part }}<p>
    {% endfor %}
{% endblock %}

{% extends "chem/base.html" %}

{% block content %}
    {% if error_message %}
        {{ error_message }}
    {% endif %}

    {% for part in job %}
        {{ part }}<p>
    {% endfor %}
    {% if user.is_authenticated %}
        <form action="kill/"  method="post">
            {% csrf_token %}
            <input type="Submit" value="Kill" />
        </form>
        <form action="reset/" method="post">
            {% csrf_token %}
            <input type="Submit" value="Reset" />
        </form>
    {% endif %}
{% endblock %}

Add reset and kill buttons to job detail page
Add reset and kill buttons to job detail page
