Revision 58966151
Von Thomas Heck vor etwa 12 Jahren hinzugefügt
templates/webpages/ct/search.html | ||
---|---|---|
1 | 1 |
[%- USE T8 %] |
2 |
[%- USE L %] |
|
2 | 3 |
[% USE HTML %]<body onload="fokus()"> |
3 | 4 |
|
4 | 5 |
<form method="post" action="ct.pl" name="Form"> |
... | ... | |
47 | 48 |
<tr> |
48 | 49 |
<th align="right" nowrap>[% IF IS_CUSTOMER %][% 'Customer type' | $T8 %][% ELSE %][% 'Vendor type' | $T8 %][% END %]</th> |
49 | 50 |
<td> |
50 |
<select name="business_id"><option value=""></option> |
|
51 |
[% FOREACH bt = ALL_BUSINESS_TYPES %]<option value="[% HTML.escape(bt.id) %]">[% HTML.escape(bt.description) %]</option>[% END %] |
|
52 |
</select> |
|
51 |
[% L.select_tag('business_id', ALL_BUSINESS_TYPES, title_key = 'description', with_empty = 1) %] |
|
53 | 52 |
</td> |
54 | 53 |
</tr> |
55 | 54 |
[% END %] |
Auch abrufbar als: Unified diff
SL::Template::Plugin::L::select_tag und SL::Template::Plugin::L::options_for_select fusionieren.