view 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
line wrap: on
line source
{#
# Description:
# Web Template used in Farol Design
#
# Authors:
# BenoƮt Allard <benoit.allard@greenbone.net>
#
# Copyright:
# Copyright (C) 2014 Greenbone Networks GmbH
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
# as published by the Free Software Foundation; either version 2
# of the License, or (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
-#}

{% extends "base.j2" %}
{% from "macros.j2" import textinput, selectinput %}
{% block title %}Edit the title{% endblock %}

{% block content %}
<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>
<form role="form" method="POST">

{% call textinput("name", "Name", "", name) %}
<p>The <strong>Name</strong> should contain the name of the party being acknowledged.</p>
{% endcall %}
{% call textinput("organization", "Organization", "", organization) %}
<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>
{% endcall %}
{% call textinput("description", "Description", "", description) %}
<p>The <strong>Description</strong> can contain any contextual details the document producers wish to make known about the acknowledgment or acknowledged parties.</p>
{% endcall %}
{% call textinput("url", "URL", "http://...", url, type="url") %}
<p><strong>URL</strong> is the optional URL to the person, place, or thing being acknowledged.</p>
{% endcall %}

<button class="btn btn-primary" type="submit">{{ action }}</button>
<a class="btn btn-danger" href="{{ url_for('.view') }}">Cancel</a>
</form>
{% endblock %}

http://farol.wald.intevation.org