diff options
author | Birte Kristina Friesel <derf@finalrewind.org> | 2025-01-08 17:57:09 +0100 |
---|---|---|
committer | Birte Kristina Friesel <derf@finalrewind.org> | 2025-01-08 17:57:09 +0100 |
commit | 5cc3baf2b7968b8f9351094c4131826c27181830 (patch) | |
tree | 5c5dbe6a79d26c4faf77aea9d9a11c0339522ed8 /templates/layouts | |
parent | 5f686d1dd01979e77f8566681d76649ba5c37460 (diff) |
DB HAFAS is gone4.33.1
Diffstat (limited to 'templates/layouts')
-rw-r--r-- | templates/layouts/app.html.ep | 15 |
1 files changed, 6 insertions, 9 deletions
diff --git a/templates/layouts/app.html.ep b/templates/layouts/app.html.ep index d434ee2..5137f7a 100644 --- a/templates/layouts/app.html.ep +++ b/templates/layouts/app.html.ep @@ -121,18 +121,15 @@ Bitte eine Station aus der Liste auswählen</div> %= hidden_field hafas => param('hafas') <div> <div class="field"> - <div class="desc">Stationsname oder Fahrtnummer:</div> - <div> -% if (stash('stationlist')) { +% if (stash('stationlist')) { %= select_field input => stash('stationlist') -% } -% elsif (stash('input')) { +% } +% elsif (stash('input')) { %= text_field 'input', class => 'station', placeholder => 'Stationsname oder Fahrtnummer', id => 'stationinput' -% } -% else { +% } +% else { %= text_field 'input', class => 'station', placeholder => 'Stationsname oder Fahrtnummer', id => 'stationinput', autofocus => 'autofocus' -% } - </div> +% } </div> <div class="field"> %= submit_button 'Abfahrtstafel' |