]> wagnertech.de Git - mfinanz.git/blobdiff - templates/webpages/csv_import/form.html
CSV-Import: Test-Button unnötig bei direktem Import
[mfinanz.git] / templates / webpages / csv_import / form.html
index 9b8fd1a84bcbb67c47216666c0cdc03fca2eb4f2..3796ced6e66dbd98c9b9a9404e98b0b295187af2 100644 (file)
   [% L.hidden_tag('action', 'CsvImport/dispatch') %]
   [% L.hidden_tag('profile.type', SELF.profile.type) %]
 
+ [%- IF SELF.profile.get('dont_edit_profile') %]
+  [% L.hidden_tag('force_profile', 1) %]
+  [% L.hidden_tag('profile.id', SELF.profile.id) %]
+ [%- ELSE %]
   <h2>[%- LxERP.t8('Import profiles') %]</h2>
 
   <table>
   <hr>
 [%- END %]
   [% L.submit_tag('action_test', LxERP.t8('Test and preview')) %]
+[%- END %]
   [% L.submit_tag('action_import', LxERP.t8('Import'), style='display:none') %]
 
  </form>