{% extends 'ddm_core/page_with_form.html' %} {% load static %} {% block page_title %}Create New File Blueprint{% endblock %} {% block main_heading %}Create New File Blueprint{% endblock %} {% block submit_label %}Create File Blueprint{% endblock %} {% block cancel_target %}{% url 'ddm_datadonation:overview' project.url_id %}{% endblock %} {% block breadcrumbs %} Projects / "{{ project.name|truncatechars:15 }}" Project / Data Donation / Create File Blueprint {% endblock %} {% block main_form %}
{% csrf_token %} {{ form.media }} {{ form.non_field_errors }}
General Settings
{% for field in form %} {% if field.name not in "expected_fields,expected_fields_regex_matching,regex_path,exp_file_format,csv_delimiter,json_extraction_root" %}

{{ field.label_tag }} {{ field.errors }} {{ field.help_text }}
{{ field }}

{% endif %} {% endfor %}

File Validation Settings
{% include "ddm_core/components/info_collapsible.html" with element_id="filevalidation" title="How the file validation works" include_path="ddm_datadonation/blueprint/block_file_validation.html" body="" %} {% for field in form %} {% if field.name in "expected_fields,expected_fields_regex_matching,regex_path,exp_file_format,csv_delimiter,json_extraction_root" %}

{{ field.label_tag }} {{ field.errors }} {{ field.help_text }} {{ field }}

{% endif %} {% endfor %}

You will be able to define the data extraction settings once you have saved and created the File Blueprint.

Back

{% endblock %} {% block scripts %} {{ block.super }} {{ file_uploader_meta|json_script:'file_uploader_meta' }} {% endblock scripts %}