%inherit file="/base/index.html" />
<%def name="heading()">
Keywords
%def>
${self.displayTags('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', 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', 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, 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>