X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=templates%2Fwebpages%2Fcsv_import%2Fform.html;h=6d21fb2e11b1cdbb6ca51f5678aedb066977f2ef;hb=83542c806dc5c249bf640e344eaf3831cdf2f2ea;hp=eba42f6a97784022b21acc2b3299b3697ffb4f32;hpb=280cbfe97461e08c8dbc604dd487b08b79ffd8ed;p=kivitendo-erp.git
diff --git a/templates/webpages/csv_import/form.html b/templates/webpages/csv_import/form.html
index eba42f6a9..6d21fb2e1 100644
--- a/templates/webpages/csv_import/form.html
+++ b/templates/webpages/csv_import/form.html
@@ -27,7 +27,7 @@
[%- LxERP.t8('Existing profiles') %]: |
- [% L.select_tag('profile.id', L.options_for_select(SELF.all_profiles, title => 'name', default => SELF.profile.id), style => 'width: 300px') %]
+ [% L.select_tag('profile.id', SELF.all_profiles, title_key = 'name', default = SELF.profile.id, style = 'width: 300px') %]
|
[% L.submit_tag('action_new', LxERP.t8('Load profile')) %]
@@ -103,14 +103,13 @@
|
[%- LxERP.t8('Number Format') %]: |
- [% SET options = L.options_for_select([ '1.000,00', '1000,00', '1,000.00', '1000.00' ], default => SELF.profile.get('numberformat')) %]
- [% L.select_tag('settings.numberformat', options, style => 'width: 300px') %]
+ [% L.select_tag('settings.numberformat', ['1.000,00', '1000,00', '1,000.00', '1000.00'], default = SELF.profile.get('numberformat'), style = 'width: 300px') %]
|
[%- LxERP.t8('Charset') %]: |
- [% L.select_tag('settings.charset', L.options_for_select(SELF.all_charsets, default => SELF.profile.get('charset')), style => 'width: 300px') %] |
+ [% L.select_tag('settings.charset', SELF.all_charsets, default = SELF.profile.get('charset'), style = 'width: 300px') %] |
@@ -181,7 +180,7 @@
[% opts = [ [ 'no_check', LxERP.t8('Do not check for duplicates') ],
[ 'check_csv', LxERP.t8('Discard duplicate entries in CSV file') ],
[ 'check_db', LxERP.t8('Discard entries with duplicates in database or CSV file') ] ] %]
- [% L.select_tag('settings.duplicates', L.options_for_select(opts, default => SELF.profile.get('duplicates')), style => 'width: 300px') %]
+ [% L.select_tag('settings.duplicates', opts, default = SELF.profile.get('duplicates'), style = 'width: 300px') %]
[% END %]
@@ -244,4 +243,3 @@
-->