32 lines
841 B
HTML
32 lines
841 B
HTML
|
{% extends "chrono/manager_check_type_list.html" %}
|
||
|
{% load i18n %}
|
||
|
|
||
|
{% block breadcrumb %}
|
||
|
{{ block.super }}
|
||
|
{% if object.pk %}
|
||
|
<a href="{% url 'chrono-manager-check-type-group-edit' object.pk %}">{{ object }}</a>
|
||
|
{% else %}
|
||
|
<a href="{% url 'chrono-manager-check-type-group-add' %}">{% trans "New check type group" %}</a>
|
||
|
{% endif %}
|
||
|
{% endblock %}
|
||
|
|
||
|
{% block appbar %}
|
||
|
{% if object.pk %}
|
||
|
<h2>{% trans "Edit check type group" %}</h2>
|
||
|
{% else %}
|
||
|
<h2>{% trans "New check type group" %}</h2>
|
||
|
{% endif %}
|
||
|
{% endblock %}
|
||
|
|
||
|
{% block content %}
|
||
|
|
||
|
<form method="post" enctype="multipart/form-data">
|
||
|
{% csrf_token %}
|
||
|
{{ form.as_p }}
|
||
|
<div class="buttons">
|
||
|
<button class="submit-button">{% trans "Save" %}</button>
|
||
|
<a class="cancel" href="{% url 'chrono-manager-check-type-list' %}">{% trans 'Cancel' %}</a>
|
||
|
</div>
|
||
|
</form>
|
||
|
{% endblock %}
|