{% extends 'safety/tools/index.html' %} {% block navbar_tools %}class="active"{%endblock%} {% block toolbar_upload %}class="active"{%endblock%} {% block box_contents %} {% if error %}

Warning!

Cannot import file, error {{error}}.

{% else %}
Warning! Danger area, you must know exactly what you are doing!
{% endif %}
{% csrf_token %}
{{form.type}} {% if form.type.errors %} {{form.type.errors|striptags}} {% else %} Select what kind of entries are contained in the file to be uploaded. Warning - the upload script does not check the actual type of imported entries and adds them all as strings. So please correctly specify the type of entries being imported! {%endif%}
{% if form.policy.errors %} {{form.policy.errors|striptags}} {% else %} Select which policy to upload into. Warning - Member* types are not applicable for Defaut policy! {%endif%}
{{form.file}} {% if form.file.errors %} {{form.file.errors|striptags}} {% else %} Please browse to the file which you would like to import into selected type of items and click Upload File. The entries to import must be one per line, all lines starting with # are skipped as well as empty lines. Each line is trimmed before import. Not more than 1000 entries per file are supported. {%endif%}
{% endblock %}