diff farol/templates/vulnerability/view_threat.j2 @ 93:8e72f31d7392

Add deletion of Threats
author Benoît Allard <benoit.allard@greenbone.net>
date Thu, 09 Oct 2014 16:14:25 +0200
parents 4a9f23230eba
children 09915cbdf549
line wrap: on
line diff
--- a/farol/templates/vulnerability/view_threat.j2	Thu Oct 09 16:08:45 2014 +0200
+++ b/farol/templates/vulnerability/view_threat.j2	Thu Oct 09 16:14:25 2014 +0200
@@ -24,7 +24,7 @@
 -#}
 
 {% extends "vulnerability/base.j2" %}
-{% from "macros.j2" import panel, label_value %}
+{% from "macros.j2" import panel, label_value, delete_button %}
 {% block title %}Edit {{ threat.getTitle() }}{% endblock %}
 
 {% block i_content %}
@@ -56,4 +56,5 @@
 </ul>
 {% endcall %}
 {% endif %}
+<div class="pull-right">{{ delete_button(url_for('.del_threat', ordinal=ordinal, index=index)) }}</div>
 {% endblock %}

http://farol.wald.intevation.org