Mercurial > farol > farol
annotate farol/templates/vulnerability/edit_acknowledgment.j2 @ 64:aad7db3f93b6
Add support for Acknowledgments with multiple names and organizations
author | Benoît Allard <benoit.allard@greenbone.net> |
---|---|
date | Wed, 08 Oct 2014 14:28:29 +0200 |
parents | 4ac1dd522998 |
children |
rev | line source |
---|---|
0 | 1 {# |
2 # Description: | |
3 # Web Template used in Farol Design | |
4 # | |
5 # Authors: | |
6 # BenoƮt Allard <benoit.allard@greenbone.net> | |
7 # | |
8 # Copyright: | |
9 # Copyright (C) 2014 Greenbone Networks GmbH | |
10 # | |
11 # This program is free software; you can redistribute it and/or | |
12 # modify it under the terms of the GNU General Public License | |
13 # as published by the Free Software Foundation; either version 2 | |
14 # of the License, or (at your option) any later version. | |
15 # | |
16 # This program is distributed in the hope that it will be useful, | |
17 # but WITHOUT ANY WARRANTY; without even the implied warranty of | |
18 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
19 # GNU General Public License for more details. | |
20 # | |
21 # You should have received a copy of the GNU General Public License | |
22 # along with this program; if not, write to the Free Software | |
23 # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. | |
24 -#} | |
25 | |
26 {% extends "base.j2" %} | |
57
4ac1dd522998
Unify the edit_acknowledgment pages
Benoît Allard <benoit.allard@greenbone.net>
parents:
0
diff
changeset
|
27 {% from "common_edits.j2" import edit_acknowledgment %} |
4ac1dd522998
Unify the edit_acknowledgment pages
Benoît Allard <benoit.allard@greenbone.net>
parents:
0
diff
changeset
|
28 {% block title %}Edit an Acknowledgment{% endblock %} |
0 | 29 |
30 {% set active = 'vulnerability' %} | |
31 | |
32 {% block content %} | |
33 <form role="form" method="POST"> | |
34 | |
64
aad7db3f93b6
Add support for Acknowledgments with multiple names and organizations
Benoît Allard <benoit.allard@greenbone.net>
parents:
57
diff
changeset
|
35 {{ edit_acknowledgment(names, organizations, description, url) }} |
0 | 36 |
37 <button class="btn btn-primary" type="submit">{{ action }}</button> | |
38 <a class="btn btn-danger" href="{{ url_for('.view', ordinal=ordinal) }}">Cancel</a> | |
39 </form> | |
40 {% endblock %} |