summaryrefslogtreecommitdiff
path: root/templates/layouts
diff options
context:
space:
mode:
authorBirte Kristina Friesel <derf@finalrewind.org>2025-01-08 17:57:09 +0100
committerBirte Kristina Friesel <derf@finalrewind.org>2025-01-08 17:57:09 +0100
commit5cc3baf2b7968b8f9351094c4131826c27181830 (patch)
tree5c5dbe6a79d26c4faf77aea9d9a11c0339522ed8 /templates/layouts
parent5f686d1dd01979e77f8566681d76649ba5c37460 (diff)
DB HAFAS is gone4.33.1
Diffstat (limited to 'templates/layouts')
-rw-r--r--templates/layouts/app.html.ep15
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'