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

{% block title %}New Team{% endblock %}

{% block content %}
<div class="grid_12 alpha">
  <h1>Create a new Team</h1>
</div>
<div id="left" class="grid_6 alpha">
    <form enctype="multipart/form-data" action="{{ formloc }}" method="post">
    {% if form.errors %}
        <p style="color: red;">
            Please correct the error{{ form.errors|pluralize }} below.
        </p>
    {% endif %}

        <table>
            {{ form.as_table }}
        </table>
        {% csrf_token %}
   <div id="formbutton" class="grid_1 prefix_4 suffix_1">
        <input class="button green" type="submit" value="Submit">
   </div>
</div>
<div id="right" class="grid_6 omega">
  <ul>
    <li>Team Type: A private team is invisible on the Teams Management page, except for its members. The only way to add members is for the manager to send an invitation. An open team is visible for all rowsandall.com users. In addition to the invitation mechanism, any user can request to be added to this team. The team manager will always have to approve membership.</li>
    <li>Sharing Behavior: When set to "All Members", all members of a team will see each other's workouts. This is the recommended setting. If te sharing bhavior is set to "Coach Only", team members only see their own workouts. The coach sees all team members' workouts.</li>
    <li>These settings can be changed at any point in time through the Team Edit page</li>
  </ul>
</div>
  


</form>
{% endblock %}
