equal
deleted
inserted
replaced
10 <tal:loop repeat="subterm python:view.get_subterms(term)"> |
10 <tal:loop repeat="subterm python:view.get_subterms(term)"> |
11 <div style="padding-left: ${python:(subterm.level - 1) * 20}px; line-height: 1em;"> |
11 <div style="padding-left: ${python:(subterm.level - 1) * 20}px; line-height: 1em;"> |
12 <label class="checkbox" |
12 <label class="checkbox" |
13 tal:define="published python:subterm.status == 'published'" |
13 tal:define="published python:subterm.status == 'published'" |
14 tal:omit-tag="not:published"> |
14 tal:omit-tag="not:published"> |
15 <input type="checkbox" name="form.widgets.themes:list" |
15 <input tal:condition="published" |
16 tal:condition="published" |
16 type="checkbox" |
|
17 name="${view/name}:list" |
17 id="term_${subterm/label}" |
18 id="term_${subterm/label}" |
18 name="${view/name}:list" |
19 name="${view/name}:list" |
19 value="${subterm/label}" |
20 value="${subterm/label}" |
20 checked="${python:'checked' if subterm.label in (view.value or ()) else None}" /> |
21 checked="${python:'checked' if subterm.label in (view.value or ()) else None}" /> |
21 <i></i> |
22 <i></i> |