{% extends "base.html" %}
{% load staticfiles %}

{% block title %}CrewNerd Summary loading{% endblock %}

{% block content %}
    <form enctype="multipart/form-data" action="{{ formloc }}" method="post">
<div id="left" class="grid_6 alpha">
	<h1>Upload Workout Summary File (CrewNerd)</h1>
    {% if form.errors %}
        <p style="color: red;">
            Please correct the error{{ form.errors|pluralize }} below.
        </p>
    {% endif %}

        <table>
            {{ form.as_table }}
        </table>
        {% csrf_token %}
   <div id="formbutton" class="grid_1 prefix_4 suffix_1">
        <input type="submit" value="Submit">
   </div>
</div>
</form>
{% endblock %}
