summaryrefslogtreecommitdiff
path: root/cgi/templates/layouts/default.html.ep
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2014-06-21 14:58:46 +0200
committerDaniel Friesel <derf@finalrewind.org>2014-06-21 14:58:46 +0200
commitfe9dc6c86ae97554898fa9c8172cb6c043d2fcd1 (patch)
treeb33e595bdb6df7430df6031b8214eaa4e4587096 /cgi/templates/layouts/default.html.ep
parenta750d073f232e4728a7f426e4e77ca82e53059a0 (diff)
IRIS backend: Use dropdown menu to narrow down stations
Diffstat (limited to 'cgi/templates/layouts/default.html.ep')
-rw-r--r--cgi/templates/layouts/default.html.ep5
1 files changed, 5 insertions, 0 deletions
diff --git a/cgi/templates/layouts/default.html.ep b/cgi/templates/layouts/default.html.ep
index 873def3..a9782ad 100644
--- a/cgi/templates/layouts/default.html.ep
+++ b/cgi/templates/layouts/default.html.ep
@@ -362,7 +362,12 @@
<div class="field">
<div class="desc">Station name</div>
<div>
+% if (stash('stationlist')) {
+ %= select_field station => stash('stationlist')
+% }
+% else {
%= text_field 'station'
+% }
%= submit_button 'Display'
</div>
</div>