diff options
author | Birte Kristina Friesel <derf@finalrewind.org> | 2024-04-02 21:40:18 +0200 |
---|---|---|
committer | Birte Kristina Friesel <derf@finalrewind.org> | 2024-04-02 21:40:18 +0200 |
commit | b8254210a97e833fbf396f0af9aa9e49339d8284 (patch) | |
tree | 44e53d03e874d6987523f916dd9980680b01a9dd /templates | |
parent | 8fe91bd6645e69ac576998abf00779aaf1f019aa (diff) |
Pass HAFAS service on to geostop
Diffstat (limited to 'templates')
-rw-r--r-- | templates/landingpage.html.ep | 2 | ||||
-rw-r--r-- | templates/layouts/app.html.ep | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/templates/landingpage.html.ep b/templates/landingpage.html.ep index 82128ca..17bb2bb 100644 --- a/templates/landingpage.html.ep +++ b/templates/landingpage.html.ep @@ -21,7 +21,7 @@ </p> % } <p class="geolink"> -<a class="button" href="<%= url_for('_autostop')->to_abs->scheme('https') %>">Stationen in der Umgebung suchen</a> +<a class="button" href="<%= url_for('_autostop')->to_abs->scheme('https')->query({hafas => param('hafas')}) %>">Stationen in der Umgebung suchen</a> </p> <p> Oder hier angeben: diff --git a/templates/layouts/app.html.ep b/templates/layouts/app.html.ep index ae3a7a2..8c6715a 100644 --- a/templates/layouts/app.html.ep +++ b/templates/layouts/app.html.ep @@ -138,7 +138,7 @@ Bitte eine Station aus der Liste auswählen</div> </div> % if (stash('input')) { <div class="geolink"> - <a class="button" href="<%= url_for('_autostop')->to_abs->scheme('https') %>">Stationen in der Umgebung suchen</a> + <a class="button" href="<%= url_for('_autostop')->to_abs->scheme('https')->query({hafas => param('hafas')}) %>">Stationen in der Umgebung suchen</a> </div> % } <div class="break"></div> |