diff options
author | substantialnoninfringinguser <substantialnoninfringinguser@gmail.com> | 2009-05-22 06:49:13 +0100 |
---|---|---|
committer | substantialnoninfringinguser <substantialnoninfringinguser@gmail.com> | 2009-05-22 06:49:13 +0100 |
commit | 75f782ab7131cdf309c293bc8f2916d8dc4a9a53 (patch) | |
tree | 40163083ad0534c5cfcb25e809d0f1a224a80f6c /templates/survey.html | |
parent | 832f56a6d0342218134a9f40a2d88efe3d49709b (diff) | |
download | troggle-75f782ab7131cdf309c293bc8f2916d8dc4a9a53.tar.gz troggle-75f782ab7131cdf309c293bc8f2916d8dc4a9a53.tar.bz2 troggle-75f782ab7131cdf309c293bc8f2916d8dc4a9a53.zip |
[svn] more survey binder updates
Diffstat (limited to 'templates/survey.html')
-rw-r--r-- | templates/survey.html | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/templates/survey.html b/templates/survey.html index b24e4e5..b3214a0 100644 --- a/templates/survey.html +++ b/templates/survey.html @@ -50,8 +50,8 @@ <center>
<select id="expeditionChooser" class="centre" onChange="redirectYear()">
+ <option value=""/>
{% for expedition in expeditions %}
-
<option label="{{ expedition }}" value="{{ expedition }}" {% ifequal expedition current_expedition %}selected{% endifequal %}>
{{ expedition }}
@@ -72,8 +72,10 @@ <center>
<select id="surveyChooser" class="centre" onChange="redirectSurvey()">
<option label="show all" value="">
- {% for survey in current_expedition.survey_set.all %}
+
</option>
+ {% for survey in current_expedition.survey_set.all %}
+
<option label="{{ survey }}" value="{{ survey.wallet_number }}"
{% ifequal survey current_survey %}
selected
|