{% extends "admin/base_site.html" %}

{% block content %}
<br />
<form action="." method="post" enctype="multipart/form-data">
	{% csrf_token %}
	{{ form.non_field_errors }}
	
	{{ form.conference.errors }}
	<label for="id_conference"><strong>Conference:</strong></label>
	{{ form.conference }}
	<br />
	
	{% if form.action %}
	{{ form.action.errors }}
	<label for="id_action"><strong>Download type:</strong></label>
	{{ form.action }}
	<br />
	{% endif %}
	
	{{ form.file_name.errors }}
	<label for="id_file_name"><strong>Name of output file:</strong></label>
	{{ form.file_name }}
	<br />
	
	{{ form.squish.errors }}
	<label for="id_squish"><strong>For text that is too long, to what size should it be constrained? (cm)</strong></label>
	{{ form.squish }}
	<br />
	
	{{ form.display_titles.errors }}
	<label for="id_display_titles"><strong>Display Paper Titles:</strong></label>
	{{ form.display_titles }}
	<br />
	
	{{ form.display_schools.errors }}
	<label for="id_display_schools"><strong>Display School Names:</strong></label>
	{{ form.display_schools }}
	<br />
	
	{{ form.convert_unicode.errors }}
	<label for="id_convert_unicode"><strong>Try to Convert Unicode Characters:</strong></label>
	{{ form.convert_unicode }}
	<br />
	{% comment %}
	{{ form.escape_latex.errors }}
	<label for="id_escape_latex"><strong>Escape Special LaTeX Characters:</strong></label>
	{{ form.escape_latex }}
	<p class="help">(Note: This will escape the following: &, %, $, #, _, {, }, ~, ^, \\. As this can screw up correct LaTeX syntax, use only if you know this will not affect the LaTeX users intended to type.)</p>
	<br />
	{% endcomment %}
	<input type="submit" value="Submit">
</form>

{% endblock %}