{% if export_type == 'server' %}
    {{ get_hidden_inputs('', '', 1) }}
{% elseif export_type == 'database' %}
    {{ get_hidden_inputs(db, '', 1) }}
{% else %}
    {{ get_hidden_inputs(db, table, 1) }}
{% endif %}

{# Just to keep this value for possible next display of this form after saving on server #}
{% if single_table is not empty %}
    <input type="hidden" name="single_table" value="TRUE">
{% endif %}

<input type="hidden" name="export_type" value="{{ export_type }}">

{# The export method (quick, custom or custom-no-form) #}
<input type="hidden" name="export_method" value="{{ export_method }}">

{% if sql_query is not empty %}
    <input type="hidden" name="sql_query" value="{{ sql_query }}">
{% endif %}

<input type="hidden" name="template_id" value="{{ template_id }}">
