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

{% block title %}Rowsandall Workouts Summary Export{% endblock %}

{% block content %}
<div class="grid_12">
  <form enctype="multipart/form-data" method="post">
    <div class="grid_4 alpha">
      <table>
        {{ form.as_table }}
      </table>
      {% csrf_token %}
    </div>
    <div class="grid_2">
      <input class="button green" type="submit" value="Submit">
    </div>
  </form>
  <div class="grid_6 omega">
    <p>
      With this form, you can export a summary table for all workouts within a selected date range.
      The table will be sent to you as a CSV file which can be opened in excel. The table contains
      links to download stroke data per workout.
    </p>
    <p>
      By setting the start date to your registration date or earlier and the end date to today,
      you will receive all workout data we are storing for you.
    </p>
  </div>
</div>

{% endblock %}
