# HG changeset patch # User Benoît Allard # Date 1412601184 -7200 # Node ID debdea976b8a73681f92b81cb4412a37ce57a6ae # Parent 0c726d873c7a0a55c5a77a928ba921b9b9cb9752 Add Descriptions for the edit_note fields diff -r 0c726d873c7a -r debdea976b8a farol/templates/document/edit_note.j2 --- a/farol/templates/document/edit_note.j2 Mon Oct 06 14:53:38 2014 +0200 +++ b/farol/templates/document/edit_note.j2 Mon Oct 06 15:13:04 2014 +0200 @@ -30,13 +30,33 @@ {% block content %}
-{{ selectinput("type", "Type", types, note and note._type or '') }} -{{ textinput("ordinal", "Ordinal", "", ordinal or note._ordinal, type="number", extras={'min': '1'}) }} -{{ textinput("title", "Title", "", note and note._title or '') }} -{{ textinput("audience", "Audience", "", note and note._audience or '') }} -{{ textarea("note", "Note", "", note and note._note or '', 10, required=True) }} +{% call selectinput("type", "Type", types, note and note._type or '') %} +

Type can be one of the following:

+