Revision 94f4a861
Von Sven Schöling vor fast 13 Jahren hinzugefügt
templates/webpages/is/form_header.html | ||
---|---|---|
96 | 96 |
<tr> |
97 | 97 |
<th align="right">[% 'Steuersatz' | $T8 %]</th> |
98 | 98 |
<td> |
99 |
[% L.select_tag('taxzone_id', L.options_for_select(ALL_TAXZONES, default=taxzone_id, title='description'), readonly=(id ? 1 : 0), style='width: 250px', onchange="document.getElementById('update_button').click();") %] |
|
100 |
</td> |
|
99 |
[% L.select_tag('taxzone_id', L.options_for_select(ALL_TAXZONES, default=taxzone_id, title='description'), disabled=(id ? 1 : 0), style='width: 250px', onchange="document.getElementById('update_button').click();") %] |
|
101 | 100 |
[%- IF id %] |
102 | 101 |
<input type='hidden' name='taxzone_id' value='[% taxzone_id %]'> |
103 | 102 |
[%- END %] |
Auch abrufbar als: Unified diff
html strict: select kann kein readonly, nur disabled