From 5cc3baf2b7968b8f9351094c4131826c27181830 Mon Sep 17 00:00:00 2001 From: Birte Kristina Friesel Date: Wed, 8 Jan 2025 17:57:09 +0100 Subject: DB HAFAS is gone --- templates/layouts/app.html.ep | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) (limited to 'templates/layouts') 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 %= hidden_field hafas => param('hafas')
-
Stationsname oder Fahrtnummer:
-
-% 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' -% } -
+% }
%= submit_button 'Abfahrtstafel' -- cgit v1.2.3