Skip to content
Snippets Groups Projects
Commit 42bb5cc4 authored by Birte Kristina Friesel's avatar Birte Kristina Friesel
Browse files

add autocomplete for station form

parent c8f9fc90
No related branches found
No related tags found
No related merge requests found
This diff is collapsed.
This diff is collapsed.
...@@ -36,7 +36,7 @@ ...@@ -36,7 +36,7 @@
</div> </div>
%= form_for 'list_departures' => begin %= form_for 'list_departures' => begin
<div class="input-field text-white"> <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> <label for="station">Manuelle Eingabe (Name oder DS100)</label>
</div> </div>
<div class="center-align"> <div class="center-align">
......
...@@ -13,6 +13,7 @@ ...@@ -13,6 +13,7 @@
%= javascript "/static/${av}/js/materialize.min.js" %= javascript "/static/${av}/js/materialize.min.js"
%= javascript "/static/${av}/js/travelynx-actions.min.js" %= javascript "/static/${av}/js/travelynx-actions.min.js"
% if (stash('with_geolocation')) { % if (stash('with_geolocation')) {
%= javascript "/static/${av}/js/autocomplete.min.js"
%= javascript "/static/${av}/js/geolocation.min.js" %= javascript "/static/${av}/js/geolocation.min.js"
% } % }
</head> </head>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment