summaryrefslogtreecommitdiff
path: root/cgi/templates/layouts/default.html.ep
diff options
context:
space:
mode:
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>