Merge branch 'b-3.6.1' of ../kivitendo-erp_20220811
[kivitendo-erp.git] / templates / webpages / csv_import / _mapping_item.html
diff --git a/templates/webpages/csv_import/_mapping_item.html b/templates/webpages/csv_import/_mapping_item.html
new file mode 100644 (file)
index 0000000..9e5f74c
--- /dev/null
@@ -0,0 +1,14 @@
+[%- USE HTML %]
+[%- USE LxERP %]
+[%- USE L %]
+[%- USE T8 %]
+ <tr class=listrow>
+    <td><a class='remove_line interact cursor-pointer'>✘</a></td>
+[%- IF item.from %]
+  <td>[% L.hidden_tag('mappings[+].from', item.from) %][% item.from | html %]</td>
+[%- ELSE %]
+  <td>[% L.input_tag('mappings[+].from', '') %]</td>
+[%- END %]
+  <td>[% L.select_tag('mappings[].to', SELF.displayable_columns, value_key='name', title_key='name', default=item.to) %]</td>
+ </tr>
+