diff options
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, 8 insertions, 2 deletions
diff --git a/archaeological_files/templates/ishtar/forms/preventive_detail.html b/archaeological_files/templates/ishtar/forms/preventive_detail.html index cc27e26f3..3c58053ba 100644 --- a/archaeological_files/templates/ishtar/forms/preventive_detail.html +++ b/archaeological_files/templates/ishtar/forms/preventive_detail.html @@ -17,10 +17,16 @@ </div> </div> <div class="w-100 pb-3 text-center form-group"> - <button class="btn btn-secondary btn-sm form-planned" type="button">{% trans "Add default costs" %}</button> + <a class="btn btn-secondary btn-sm form-planned" type="button" + href="{% url 'file-edit-preventive-default-cost' file.pk %}"> + {% trans "Add default costs" %} + </a> </div> <div class="w-100 pb-3 text-center form-group"> - <button class="btn btn-secondary btn-sm form-worked" type="button">{% trans "Copy planned costs" %}</button> + <a class="btn btn-secondary btn-sm form-worked" type="button" + href="{% url 'file-edit-preventive-copy-planned' file.pk %}"> + {% trans "Copy planned costs" %} + </a> </div> {% for inline in inline_forms %} <h4>{{inline.form_label}}</h4> |