Mercurial > farol > farol
diff farol/templates/document/view_note.j2 @ 73:88adf067cae1
Fix delete urls
author | Benoît Allard <benoit.allard@greenbone.net> |
---|---|
date | Thu, 09 Oct 2014 11:14:50 +0200 |
parents | 727c01e8e3e9 |
children | 09915cbdf549 |
line wrap: on
line diff
--- a/farol/templates/document/view_note.j2 Thu Oct 09 10:31:06 2014 +0200 +++ b/farol/templates/document/view_note.j2 Thu Oct 09 11:14:50 2014 +0200 @@ -34,5 +34,5 @@ </div> {% if note._audience %}<p>Audience: <em>{{ note._audience }}</em></p>{% endif %} <p>{{ note._note | replace('\n', '<br>') }}</p> -<div class="pull-right">{{ delete_button(url_for('.del_note'), {'ordinal': note._ordinal}) }}</div> +<div class="pull-right">{{ delete_button(url_for('.del_note', ordinal=note._ordinal)) }}</div> {% endblock %}