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

{% block title %}{% trans "Return from outing" %}
{% endblock %}

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

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

	<h1>{% trans "Return from outing" %}</h1>
	<h2>{{ outing.boat.boatcode }} {{ outing.boat.boatname }}</h2>
	<p>{% trans "Please check the boat" %}</p>

    <form enctype="multipart/form-data" action="" method="post">
        <table width=100%>
	<tr>
		<th><label for="id_damagecheck">{% trans "Is boat OK?" %}</label></th>
		<td><select id="id_damagecheck" name="damagecheck">
		<option value="Yes" selected="selected">{% trans 'Yes' %}</option>
		<option value="No">{% trans 'No' %}</option>
		</select></td>
	</tr>
            {{ form.as_table }}
        </table>
        {% csrf_token %}
   <div id="formbutton" class="grid_1 prefix_4 suffix_1">
        <input class="button green" type="submit" value="{% trans 'Save' %}">
   </div>
    </form>
</div>

{% endblock %}