Revision 58966151
Von Thomas Heck vor etwa 12 Jahren hinzugefügt
templates/webpages/do/search.html | ||
---|---|---|
71 | 71 |
|
72 | 72 |
<tr> |
73 | 73 |
<th align="right">[% 'Employee' | $T8 %]</th> |
74 |
<td>[% L.select_tag('employee_id', L.options_for_select(ALL_EMPLOYEES, title='safe_name', with_empty=1), class='fixed_width') %]</td>
|
|
74 |
<td>[% L.select_tag('employee_id', ALL_EMPLOYEES, title_key = 'safe_name', with_empty = 1, class = 'fixed_width') %]</td>
|
|
75 | 75 |
</tr> |
76 | 76 |
|
77 | 77 |
[%- IF is_customer %] |
78 | 78 |
<tr> |
79 | 79 |
<th align="right">[% 'Salesman' | $T8 %]</th> |
80 |
<td>[% L.select_tag('salesman_id', L.options_for_select(ALL_EMPLOYEES, title='safe_name', with_empty=1), class='fixed_width') %]</td>
|
|
80 |
<td>[% L.select_tag('salesman_id', ALL_EMPLOYEES, title_key = 'safe_name', with_empty = 1, class = 'fixed_width') %]</td>
|
|
81 | 81 |
</tr> |
82 | 82 |
[%- END %] |
83 | 83 |
|
Auch abrufbar als: Unified diff
SL::Template::Plugin::L::select_tag und SL::Template::Plugin::L::options_for_select fusionieren.