Leeres Feld mit anzeigen heißt with_empty bei select_tag im L-Plugin.
authorBernd Blessmann <bibi@online.de>
Fri, 20 Apr 2012 08:46:10 +0000 (10:46 +0200)
committerBernd Blessmann <bibi@online.de>
Fri, 20 Apr 2012 08:46:10 +0000 (10:46 +0200)
templates/webpages/ct/form_header.html

index 92c098d..8263d87 100644 (file)
       </td>
       [%- IF is_customer && !conf_vertreter %]
       <th align="right">[% 'Salesman' | $T8 %]</th>
-      <td>[% L.select_tag('salesman_id', L.options_for_select(ALL_SALESMEN, default=salesman_id, show_empty=1, title='safe_name')) %]</td>
+      <td>[% L.select_tag('salesman_id', L.options_for_select(ALL_SALESMEN, default=salesman_id, with_empty=1, title='safe_name')) %]</td>
       [%- END %]
      </tr>
     </table>