Uploading files
This commit is contained in:
40
cvkbrno/templates/cvkbrno_outing_closeform.html~
Normal file
40
cvkbrno/templates/cvkbrno_outing_closeform.html~
Normal file
@@ -0,0 +1,40 @@
|
||||
{% 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 type="submit" value="{% trans 'Save' %}">
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
|
||||
{% endblock %}
|
||||
Reference in New Issue
Block a user