{% extends "cvkbrnobase.html" %}
{% load i18n %}
{% load staticfiles %}
{% load rowerfilters %}

{% block title %}{% trans "Meterboard" %}{% endblock %}

{% block content %}
<div class="grid_12 alpha">
	<div class="grid_2 prefix_3 alpha">
		<p>
		<a class="button gray small" href="/cvkbrno/meterboard?sortby=year">{% trans "by year" %}</a>
	</p>
	</div>
	<div class="grid_2">
		<p>
		<a class="button gray small" href="/cvkbrno/meterboard?sortby=month">{% trans "by month" %}</a>
	</p>
	</div>
	<div class="grid_2 suffix_3 omega">
	<p>
		<a class="button gray small" href="/cvkbrno/meterboard?sortby=week">{% trans "by week" %}</a>
	</p>
	</div>
</div>

<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>{% trans "Meterboard" %}</h1>


	{{ data|safe }}

        {% csrf_token %}
</div>
<div id="outings" class="grid_6 omega">
	<h1>{% trans "Meterboard Boats" %}</h1>


	{{ datab|safe }}

</div>
{% endblock %}