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

{% block title %}Delete Team {% endblock %}

{% block main %}
<h1>Confirm Deleting the team {{ team.name }}</h1>

<ul class="main-content">
  <li class="grid_2">
    {% if form.errors %}
    <p style="color: red;">
      Please correct the error{{ form.errors|pluralize }} below.
    </p>
    {% endif %}
    
    <p>This will remove the team. Your team members and their workouts
      will not be deleted. 
    </p>
    
    
    <p>
      <a class="button green small" href="/rowers/team/{{ team.id }}">Cancel</a>
    </p>

    <p>
      <a class="button red small" href="/rowers/team/{{ team.id }}/delete">Delete</a>
    </p>
  </li>
</ul>


{% endblock %}

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