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

{% block title %}Leave Team {% endblock %}

{% block content %}
<div id="workouts" class="grid_6 alpha">

    {% if form.errors %}
        <p style="color: red;">
            Please correct the error{{ form.errors|pluralize }} below.
        </p>
    {% endif %}

	<h1>Confirm Leaving the team {{ team.name }}</h1>
    <p>This will remove you and all your workouts from the team. If this
      is a closed team, you can only return when the team manager
      reinvites you.
      If this is an open team, you can return by applying for team membership.
    </p>

	
	<div class="grid_2 alpha">
		<p>
		<a class="button green small" href="/rowers/team/{{ team.id }}">Cancel</a>
	</div>

	<div class="grid_2">
		<p>
		<a class="button red small" href="/rowers/team/{{ team.id }}/leave">Leave</a>
		</p>
	</div>

</div>

<div id="images" class="grid_6 omega">
<p>
&nbsp;
</p>

</div>


{% endblock %}
