Revision ac70c8ea
Von Hans P. Schlaepfer vor etwa 4 Jahren hinzugefügt
templates/webpages/amcvar/render_checkboxes.html | ||
---|---|---|
1 |
[%- IF var.partsgroup_filtered %] |
|
2 |
<input type="hidden" name="[% var_valid %]" value="[% HTML.escape(var.valid) %]"> |
|
3 |
[%- ELSE %] |
|
4 |
<input type=checkbox name='[% var_valid %]'[% IF var.valid %] checked[% END %]> |
|
5 |
[%- END %] |
|
6 | 1 |
[% USE HTML %] |
2 |
[% SET var_valid = HTML.escape(name_prefix) _ "cvar_" _ HTML.escape(var.name) _ HTML.escape(name_postfix) _ '_valid' %] |
|
3 |
[% IF var.partsgroup_filtered %] |
|
4 |
<input type="hidden" name="[% var_valid %]" value="[% HTML.escape(var.valid) %]"> |
|
5 |
[% ELSE %] |
|
6 |
<input type=checkbox name="[% var_valid %]"[% IF var.valid %] checked[% END %]> |
|
7 |
[% END %] |
Auch abrufbar als: Unified diff
Neues Design 2019 Standard-Code templates/webpages/amcvar/render_checkboxes.html