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

{% block title %}Change Workout {% endblock %}

{% block main %}
  <h1>Delete {{ workout }}?</h1>
<ul class="main-content">
  <li class="grid_2">
    <p>
      This will delete the following workout and all related data (charts, comments):
    </p>
    <table width=100%>
      <tr>
	<th>Name:</th><td>{{ workout.name }}</td>
      </tr><tr>
	<th>Date:</th><td>{{ workout.date }}</td>
      </tr><tr>
	<th>Time:</th><td>{{ workout.starttime }}</td>
      </tr><tr>
	<th>Distance:</th><td>{{ workout.distance }}m</td>
      </tr><tr>
	<th>Duration:</th><td>{{ workout.duration |durationprint:"%H:%M:%S.%f" }}</td>
      </tr>
    </table>
  </li>
  <li class="grid_2">
    <form action="" method="post">
      {% csrf_token %}
      <input type="submit" value="Confirm">
    </form>
  </li>
</ul>


{% endblock %}

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