diff farol/templates/vulnerability/view_involvement.j2 @ 90:2201d0ea0bf3

Add deletion of Involvements
author Benoît Allard <benoit.allard@greenbone.net>
date Thu, 09 Oct 2014 15:56:43 +0200
parents 4a9f23230eba
children 09915cbdf549
line wrap: on
line diff
--- a/farol/templates/vulnerability/view_involvement.j2	Thu Oct 09 15:50:31 2014 +0200
+++ b/farol/templates/vulnerability/view_involvement.j2	Thu Oct 09 15:56:43 2014 +0200
@@ -24,7 +24,7 @@
 -#}
 
 {% extends "vulnerability/base.j2" %}
-
+{% from "macros.j2" import delete_button %}
 {% block title %}{{ involvement.getTitle() }}{% endblock %}
 
 {% block i_content %}
@@ -33,4 +33,5 @@
   <h1>{{ involvement._party }} <small>{{ involvement._status }}</small></h1>
 </div>
 <p>{{ involvement._description or '' }}</p>
+<div class="pull-right">{{ delete_button(url_for('.del_involvement', ordinal=ordinal, index=index)) }}</div>
 {% endblock %}

http://farol.wald.intevation.org