{% trans_default_domain 'security' %}
<h3>
    <span class="fas fa-download"></span>
    {% trans %}Export IDS log{% endtrans %}
    {{ pageSetVar('title', 'Export IDS log'|trans) }}
</h3>

<ul class="nav nav-modulelinks">
    <li class="nav-item">
        <a href="{{ path('zikulasecuritycentermodule_idslog_export') }}" title="{% trans %}Download the entire log to a CSV file{% endtrans %}" class="nav-link active"><i class="fas fa-download"></i> {% trans %}Export IDS Log{% endtrans %}</a>
    </li>
    <li class="nav-item">
        <a href="{{ path('zikulasecuritycentermodule_idslog_purge') }}" title="{% trans %}Delete the entire log.{% endtrans %}" class="nav-link"><i class="fas fa-trash-alt"></i> {% trans %}Purge IDS Log{% endtrans %}</a>
    </li>
</ul>

{{ form_start(form) }}
{{ form_errors(form) }}
<fieldset>
    <legend>{% trans %}Export Options{% endtrans %}</legend>
    {{ form_row(form.titles) }}
    {{ form_row(form.file) }}
    {{ form_row(form.delimiter) }}
</fieldset>
<div class="form-group row">
    <div class="col-md-9 offset-md-3">
        {{ form_widget(form.export) }}
        {{ form_widget(form.cancel) }}
    </div>
</div>
{{ form_end(form) }}
