2
0
mirror of https://expo.survex.com/repositories/troggle/.git synced 2025-01-20 09:52:30 +00:00

[svn] more survey binder updates

This commit is contained in:
substantialnoninfringinguser 2009-05-22 06:49:13 +01:00
parent a2154b411e
commit 3528f56b83

View File

@ -50,8 +50,8 @@
<center> <center>
<select id="expeditionChooser" class="centre" onChange="redirectYear()"> <select id="expeditionChooser" class="centre" onChange="redirectYear()">
<option value=""/>
{% for expedition in expeditions %} {% for expedition in expeditions %}
<option label="{{ expedition }}" value="{{ expedition }}" {% ifequal expedition current_expedition %}selected{% endifequal %}> <option label="{{ expedition }}" value="{{ expedition }}" {% ifequal expedition current_expedition %}selected{% endifequal %}>
{{ expedition }} {{ expedition }}
@ -72,8 +72,10 @@
<center> <center>
<select id="surveyChooser" class="centre" onChange="redirectSurvey()"> <select id="surveyChooser" class="centre" onChange="redirectSurvey()">
<option label="show all" value=""> <option label="show all" value="">
{% for survey in current_expedition.survey_set.all %}
</option> </option>
{% for survey in current_expedition.survey_set.all %}
<option label="{{ survey }}" value="{{ survey.wallet_number }}" <option label="{{ survey }}" value="{{ survey.wallet_number }}"
{% ifequal survey current_survey %} {% ifequal survey current_survey %}
selected selected