diff options
Diffstat (limited to 'archaeological_files/templates/ishtar/forms')
-rw-r--r-- | archaeological_files/templates/ishtar/forms/preventive_detail.html | 10 | ||||
-rw-r--r-- | archaeological_files/templates/ishtar/forms/preventive_price_agreement.html | 10 |
2 files changed, 20 insertions, 0 deletions
diff --git a/archaeological_files/templates/ishtar/forms/preventive_detail.html b/archaeological_files/templates/ishtar/forms/preventive_detail.html index 9ad5c4802..59ebb8278 100644 --- a/archaeological_files/templates/ishtar/forms/preventive_detail.html +++ b/archaeological_files/templates/ishtar/forms/preventive_detail.html @@ -1,6 +1,16 @@ {% extends "ishtar/forms/base_form.html" %} {% load i18n table_form %} +{% block form_head %} +<div class="text-right"> + <a class="btn btn-success mb-3" href="{% url 'file-edit-preventive-price' file.pk %}"> + <i class="fa fa-pencil" aria-hidden="true"></i> + {% trans "Change price agreement" %} + </a> +</div> + +{% endblock %} + {% block bs_form_inlines %} <div class="card"> <div class="card-body"> diff --git a/archaeological_files/templates/ishtar/forms/preventive_price_agreement.html b/archaeological_files/templates/ishtar/forms/preventive_price_agreement.html new file mode 100644 index 000000000..d5d8a9319 --- /dev/null +++ b/archaeological_files/templates/ishtar/forms/preventive_price_agreement.html @@ -0,0 +1,10 @@ +{% extends "ishtar/forms/base_form.html" %} +{% load i18n %} + +{% block extra_validation_button %} +<div class="col-sm"> + <a href="{% url 'display-item' 'file' file.pk %}" class="btn btn-secondary" role="button" aria-pressed="true"> + {% trans "Back to the file" %} + </a> +</div> +{% endblock %} |