Mercurial > farol > farol
comparison farol/templates/document/edit_acknowledgment.j2 @ 42:3b56ea034f2f
Add the Description fields for th edit_acknowledgments fields
author | Benoît Allard <benoit.allard@greenbone.net> |
---|---|
date | Mon, 06 Oct 2014 15:49:59 +0200 |
parents | 6594ff7c37b4 |
children | 4ac1dd522998 |
comparison
equal
deleted
inserted
replaced
41:abf549d56fd9 | 42:3b56ea034f2f |
---|---|
26 {% extends "base.j2" %} | 26 {% extends "base.j2" %} |
27 {% from "macros.j2" import textinput, selectinput %} | 27 {% from "macros.j2" import textinput, selectinput %} |
28 {% block title %}Edit the title{% endblock %} | 28 {% block title %}Edit the title{% endblock %} |
29 | 29 |
30 {% block content %} | 30 {% block content %} |
31 <p><strong>Acknowledgment</strong> contains recognition of external parties that reported noncritical/low-severity security issues or provided information, observations, or suggestions that contributed to improved security or improved documentation in future releases of the document producer's products. This may also contain recognition to external parties that contributed toward producing this document.</p> | |
31 <form role="form" method="POST"> | 32 <form role="form" method="POST"> |
32 | 33 |
33 {{ textinput("name", "Name", "", name) }} | 34 {% call textinput("name", "Name", "", name) %} |
34 {{ textinput("organization", "Organization", "", organization) }} | 35 <p>The <strong>Name</strong> should contain the name of the party being acknowledged.</p> |
35 {{ textinput("description", "Description", "", description) }} | 36 {% endcall %} |
36 {{ textinput("url", "URL", "http://...", url, type="url") }} | 37 {% call textinput("organization", "Organization", "", organization) %} |
38 <p>The <strong>Organization</strong> should contain the organization of the party or if the <strong>Name</strong> is omitted, the organization itself that is being acknowledged.</p> | |
39 {% endcall %} | |
40 {% call textinput("description", "Description", "", description) %} | |
41 <p>The <strong>Description</strong> can contain any contextual details the document producers wish to make known about the acknowledgment or acknowledged parties.</p> | |
42 {% endcall %} | |
43 {% call textinput("url", "URL", "http://...", url, type="url") %} | |
44 <p><strong>URL</strong> is the optional URL to the person, place, or thing being acknowledged.</p> | |
45 {% endcall %} | |
37 | 46 |
38 <button class="btn btn-primary" type="submit">{{ action }}</button> | 47 <button class="btn btn-primary" type="submit">{{ action }}</button> |
39 <a class="btn btn-danger" href="{{ url_for('.view') }}">Cancel</a> | 48 <a class="btn btn-danger" href="{{ url_for('.view') }}">Cancel</a> |
40 </form> | 49 </form> |
41 {% endblock %} | 50 {% endblock %} |