Revision dec270d2
Von Kivitendo Admin vor fast 8 Jahren hinzugefügt
templates/webpages/do/search.html | ||
---|---|---|
61 | 61 |
[%- IF ALL_DEPARTMENTS.size %] |
62 | 62 |
<tr> |
63 | 63 |
<th align="right" nowrap>[% 'Department' | $T8 %]</th> |
64 |
<td colspan="3"> |
|
65 |
<select name="department" class="fixed_width"> |
|
66 |
<option></option> |
|
67 |
[%- FOREACH row = ALL_DEPARTMENTS %] |
|
68 |
<option[% IF department == row.id %] selected[% END %]>[% HTML.escape(row.description) %]--[% HTML.escape(row.id) %]</option> |
|
69 |
[%- END %] |
|
70 |
</select> |
|
71 |
</td> |
|
64 |
<td colspan=3>[% L.select_tag('department_id', ALL_DEPARTMENTS, default = department_id, title_key = 'description', with_empty = 1, class="fixed_width") %]</td> |
|
72 | 65 |
</tr> |
73 | 66 |
[%- END %] |
74 | 67 |
|
Auch abrufbar als: Unified diff
Lieferscheine - Abteilung per ALL_DEPARTMENTS und L.select_tag