Fehler: 'Can't locate object method "id" via package "SL:B::Contact"' in Lieferschein...
authorThomas Heck <theck@linet-services.de>
Wed, 12 Sep 2012 09:15:37 +0000 (11:15 +0200)
committerThomas Heck <theck@linet-services.de>
Wed, 12 Sep 2012 09:15:37 +0000 (11:15 +0200)
aus Commit 5896615180704b3dddba46f4064a47ff1f094c3c

templates/webpages/do/form_header.html

index b9c1d69..aeb0873 100644 (file)
           [%- HTML.escape(row.cp_name) %][%- IF row.cp_abteilung %] ([% HTML.escape(row.cp_abteilung) %])[% END -%]
           [%- END %]
           [%- ELSE %]
-            [% L.select_tag('cp_id', ALL_CONTACTS, default = cp_id, value = 'cp_id', title = 'full_name_dep', with_empty = 1, style='width: 250px') %]
+            [% L.select_tag('cp_id', ALL_CONTACTS, default = cp_id, value_key = 'cp_id', title_key = 'full_name_dep', with_empty = 1, style='width: 250px') %]
           [%- END %]
          </td>
         </tr>