Mercurial > farol > farol
comparison 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 |
comparison
equal
deleted
inserted
replaced
72:f9aa7b1e697e | 73:88adf067cae1 |
---|---|
32 <div class='page-header'> | 32 <div class='page-header'> |
33 <h1>{{ note._title or '' }} <small>{{ note._type }} (#{{ note._ordinal }})</small></h1> | 33 <h1>{{ note._title or '' }} <small>{{ note._type }} (#{{ note._ordinal }})</small></h1> |
34 </div> | 34 </div> |
35 {% if note._audience %}<p>Audience: <em>{{ note._audience }}</em></p>{% endif %} | 35 {% if note._audience %}<p>Audience: <em>{{ note._audience }}</em></p>{% endif %} |
36 <p>{{ note._note | replace('\n', '<br>') }}</p> | 36 <p>{{ note._note | replace('\n', '<br>') }}</p> |
37 <div class="pull-right">{{ delete_button(url_for('.del_note'), {'ordinal': note._ordinal}) }}</div> | 37 <div class="pull-right">{{ delete_button(url_for('.del_note', ordinal=note._ordinal)) }}</div> |
38 {% endblock %} | 38 {% endblock %} |