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

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

{% block main %}
<h1>Export all workouts</h1>
<ul class="main-content">
  <li class="grid_2">
    <p>
      <form enctype="multipart/form-data" method="post">
        <table>
          {{ form.as_table }}
        </table>
        {% csrf_token %}
        <input class="green button" type="submit" value="Submit">
      </form>
    </p>
  </li>
  <li class="grid_2">
    <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>
  </li>
</ul>

{% endblock %}

{% block sidebar %}
{% include 'menu_profile.html' %}
{% endblock %}
