diff options
| author | Étienne Loks <etienne.loks@iggdrasil.net> | 2022-07-07 11:31:19 +0200 |
|---|---|---|
| committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2022-07-08 09:59:31 +0200 |
| commit | bb04eed6826f0f3cbe44fc56818fa31148c90f13 (patch) | |
| tree | 1b5645a807777e15ed588713695b6402ab227225 /archaeological_files/templates/ishtar/forms/preventive_detail.html | |
| parent | 3c8cf538438abbf9d9b9951ae4112f404f5c6bbd (diff) | |
| download | Ishtar-bb04eed6826f0f3cbe44fc56818fa31148c90f13.tar.bz2 Ishtar-bb04eed6826f0f3cbe44fc56818fa31148c90f13.zip | |
Preventive file form: improve price agreement form (+ edit button, redirect)
Diffstat (limited to 'archaeological_files/templates/ishtar/forms/preventive_detail.html')
| -rw-r--r-- | archaeological_files/templates/ishtar/forms/preventive_detail.html | 10 |
1 files changed, 10 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"> |
