From bbcd08a7ba8d2354f74d1c3eaf5fc813a95edce4 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Fri, 2 Apr 2021 15:48:52 +0200 Subject: add geotrain links to menu / landing page --- templates/layouts/app.html.ep | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) (limited to 'templates/layouts/app.html.ep') diff --git a/templates/layouts/app.html.ep b/templates/layouts/app.html.ep index 40ef134..75d10b1 100644 --- a/templates/layouts/app.html.ep +++ b/templates/layouts/app.html.ep @@ -124,16 +124,16 @@ Bitte eine Station aus der Liste auswählen %= form_for _redirect => begin
-
Bahnhof / Haltestelle
+
Zug / Station
% if (stash('stationlist')) { %= select_field input => stash('stationlist') % } % elsif (stash('input')) { - %= text_field 'input', class => 'station', placeholder => 'Name oder DS100-Kürzel', id => 'stationinput' + %= text_field 'input', class => 'station', placeholder => 'Zug, Stationsname oder DS100-Kürzel', id => 'stationinput' % } % else { - %= text_field 'input', class => 'station', placeholder => 'Name oder DS100-Kürzel', id => 'stationinput', autofocus => 'autofocus' + %= text_field 'input', class => 'station', placeholder => 'Zug, Stationsname oder DS100-Kürzel', id => 'stationinput', autofocus => 'autofocus' % }
@@ -143,7 +143,10 @@ Bitte eine Station aus der Liste auswählen
% if (not stash('show_intro')) {
- Bahnhöfe im Umfeld suchen + Stationen in der Umgebung suchen +
+
+ Fahrende Züge suchen (Beta)
% }
-- cgit v1.2.3