src/pyams_thesaurus/zmi/widget/templates/terms-tree-input.pt
changeset 85 677ca6c7a21b
parent 82 3a7a8c4c8a15
child 86 04f176e237cc
equal deleted inserted replaced
84:a3ca2f2dd419 85:677ca6c7a21b
    15 							<input type="checkbox" name="form.widgets.themes:list"
    15 							<input type="checkbox" name="form.widgets.themes:list"
    16 								   tal:condition="published"
    16 								   tal:condition="published"
    17 								   id="term_${subterm/label}"
    17 								   id="term_${subterm/label}"
    18 								   name="${view/name}:list"
    18 								   name="${view/name}:list"
    19 								   value="${subterm/label}"
    19 								   value="${subterm/label}"
    20 								   checked="${python:'checked' if subterm.label in view.value else None}" />
    20 								   checked="${python:'checked' if subterm.label in (view.value or ()) else None}" />
    21 							<i></i>
    21 							<i></i>
    22 							<div class="${python:'' if published else 'bold margin-top-5'}">
    22 							<div class="${python:'' if published else 'bold margin-top-5'}">
    23 								${python:subterm.alt or subterm.label}
    23 								${python:subterm.alt or subterm.label}
    24 							</div>
    24 							</div>
    25 						</label>
    25 						</label>