diff options
-rw-r--r-- | templates/layouts/default.html.ep | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/templates/layouts/default.html.ep b/templates/layouts/default.html.ep index 8e0dca2..7c38798 100644 --- a/templates/layouts/default.html.ep +++ b/templates/layouts/default.html.ep @@ -56,9 +56,12 @@ % if (stash('stationlist')) { %= select_field station => stash('stationlist') % } -% else { +% elsif (stash('station')) { %= text_field 'station', class => 'station' % } +% else { + %= text_field 'station', class => 'station', autofocus => 'autofocus' +% } </div> </div> <div class="field"> |