+ <table id="csv_import_mappings">
+ <tr class=listheading>
+ <th></th>
+ <th>[% 'Text in CSV File' | $T8 %]</th>
+ <th>[% 'Known Column' | $T8 %]</th>
+ </tr>
+ <tr id='mapping_empty' style='display:none'>
+ <td colspan=3>[% 'There is nothing here yet (csv_import)' | $T8 %]</td>
+ </tr>
+[%- FOREACH row = SELF.mappings %]
+ [% PROCESS 'csv_import/_mapping_item.html', item=row IF row.from %]
+[%- END %][%# FOREACH SELF.mappings %]
+ [% PROCESS 'csv_import/_mapping_item.html', item={} %]
+ </table>
+
+ <input type=button id='add_empty_mapping_line' value='[% 'Add empty line (csv_import)' | $T8 %]'>
+ <input type=button id='add_mapping_from_upload' value='[% 'Add headers from last uploaded file (csv_import)' | $T8 %]'>
+
+ </div>
+ <hr>
+[%- END %][%# UNLESS SELF.worker.is_multiplexed %]
+[%- END %][%# IF SELF.profile.get('dont_edit_profile') %]