X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/969e749ceb3bcf8c40dac0e84094de03f4ded9d7..80050a8:/templates/webpages/ct/_contact.html
diff --git a/templates/webpages/ct/_contact.html b/templates/webpages/ct/_contact.html
index 528ad8ddc..bfa4f3772 100644
--- a/templates/webpages/ct/_contact.html
+++ b/templates/webpages/ct/_contact.html
@@ -4,8 +4,8 @@
| [% 'Contacts' | $T8 %] |
- [%- L.select_tag('cp_id', L.options_for_select(CONTACTS, default => cp_id, with_empty => 1, empty_title => LxERP.t8('New contact'), value => 'cp_id', title_sub => \contacts_label),
- onchange => "\$('#contacts').load('ct.pl?action=get_contact&id=' + \$('#cvid').attr('value') + '&db=' + \$('#db').attr('value') + '&cp_id=' + \$('#cp_id').attr('value'))") %]
+ [%- L.select_tag('cp_id', CONTACTS, default = cp_id, with_empty = 1, empty_title = LxERP.t8('New contact'), value_key = 'cp_id', title_sub = \contacts_label,
+ onchange = "\$('#contacts').load('ct.pl?action=get_contact&id=' + \$('#cvid').attr('value') + '&db=' + \$('#db').attr('value') + '&cp_id=' + \$('#cp_id').attr('value'))") %]
|
@@ -23,7 +23,7 @@
[% 'Title' | $T8 %] |
- [% L.select_tag('selected_cp_title', L.options_for_select(TITLES, with_empty => 1)) %]
+ [% L.select_tag('selected_cp_title', TITLES, with_empty = 1) %]
|
@@ -31,7 +31,7 @@
[% 'Department' | $T8 %] |
- [% L.select_tag('selected_cp_abteilung', L.options_for_select(DEPARTMENT, with_empty => 1)) %]
+ [% L.select_tag('selected_cp_abteilung', DEPARTMENT, with_empty = 1) %]
|