diff options
Diffstat (limited to 'templates')
-rw-r--r-- | templates/landingpage.html.ep | 2 | ||||
-rw-r--r-- | templates/layouts/default.html.ep | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/templates/landingpage.html.ep b/templates/landingpage.html.ep index fe3cd52..6ebf726 100644 --- a/templates/landingpage.html.ep +++ b/templates/landingpage.html.ep @@ -36,7 +36,7 @@ </div> %= form_for 'list_departures' => begin <div class="input-field text-white"> - %= text_field 'station', id => 'station', class => 'white-text', require => undef + %= text_field 'station', id => 'station', class => 'autocomplete white-text', require => undef <label for="station">Manuelle Eingabe (Name oder DS100)</label> </div> <div class="center-align"> diff --git a/templates/layouts/default.html.ep b/templates/layouts/default.html.ep index 36995ba..588a83c 100644 --- a/templates/layouts/default.html.ep +++ b/templates/layouts/default.html.ep @@ -13,6 +13,7 @@ %= javascript "/static/${av}/js/materialize.min.js" %= javascript "/static/${av}/js/travelynx-actions.min.js" % if (stash('with_geolocation')) { + %= javascript "/static/${av}/js/autocomplete.min.js" %= javascript "/static/${av}/js/geolocation.min.js" % } </head> |