Updated input name
authorThierry Florac <thierry.florac@onf.fr>
Tue, 28 Aug 2018 17:02:29 +0200
changeset 86 04f176e237cc
parent 85 677ca6c7a21b
child 87 dfe19304d980
Updated input name
src/pyams_thesaurus/zmi/widget/templates/terms-tree-input.pt
--- a/src/pyams_thesaurus/zmi/widget/templates/terms-tree-input.pt	Tue Aug 28 16:48:52 2018 +0200
+++ b/src/pyams_thesaurus/zmi/widget/templates/terms-tree-input.pt	Tue Aug 28 17:02:29 2018 +0200
@@ -12,8 +12,9 @@
 						<label class="checkbox"
 							   tal:define="published python:subterm.status == 'published'"
 							   tal:omit-tag="not:published">
-							<input type="checkbox" name="form.widgets.themes:list"
-								   tal:condition="published"
+							<input tal:condition="published"
+								   type="checkbox"
+								   name="${view/name}:list"
 								   id="term_${subterm/label}"
 								   name="${view/name}:list"
 								   value="${subterm/label}"