CSV Preview
{% with messages = get_flashed_messages(with_categories=true) %} {% if messages %}
Errors found during submission (click to expand):
{% for category, message in messages %}
{{ category }}:
{{ message }}
{% endfor %}
{% endif %} {% endwith %} {% for table_name, assets, editable, table_class in [ ('New Assets', new_assets, true, 'table-new-assets'), ('Existing Assets', existing_assets, false, 'table-existing-assets') ] %} {% if assets %}
{{ table_name }}
{% for attrib in item_attributes %}
{{ attrib.display_name }}
{% endfor %}
{% for asset in assets %}
{% for attrib in item_attributes %}
{{ asset[attrib.attrib_name] }}
{% endfor %}
{% endfor %}
{% endif %} {% endfor %} {% if new_assets %}
Confirm and Save to Database
{% endif %}
Cancel