%inherit file="/base/index.html" />
<%def name="heading()">
Keywords
%def>
${self.displayTags(
'Keywords',
'keywords',
c.keywords,
"Keywords can be associated to a Form. Add, modify or delete keywords " + \
"here. Just be careful when renaming or deleting a keyword: this " + \
"could have unwanted effects on associated Forms.",
'key',
None
)}
${self.displayTags(
'Syntactic Categories',
'categories',
c.syncats,
"A (morpho-)syntactic category can be associated to a Form. Add, " + \
"modify or delete syntactic categories here. Again, consider " + \
"carefully before renaming or deleting a keyword as this could have " + \
"unwanted effects on any associated Forms.",
'category'
)}
${self.displayTags(
'Elicitation Methods',
'methods',
c.elicitationMethods,
"An elicitation method can be associated to a Form. Add, modify or " + \
"delete elicitation methods here. The same warnings apply as above.",
'method'
)}
<%def name="displayTags(tagName, anchor, tags, descriptorParagraph, \
controllerName, header=1)">
% if header:
${tagName}
% endif
${descriptorParagraph}
<% title="Add new %s" % tagName %>
Add
% if tags:
ID |
Name |
Description |
% for tag in tags:
${tag.id} |
${tag.name} |
${tag.description} |
% endfor
% endif
%def>