add autocomplete for station form
This commit is contained in:
parent
c8f9fc901b
commit
42bb5cc493
4 changed files with 8482 additions and 1 deletions
8474
public/static/js/autocomplete.js
Normal file
8474
public/static/js/autocomplete.js
Normal file
File diff suppressed because it is too large
Load diff
6
public/static/js/autocomplete.min.js
vendored
Normal file
6
public/static/js/autocomplete.min.js
vendored
Normal file
File diff suppressed because one or more lines are too long
|
@ -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 @@
|
||||||
%= 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>
|
||||||
|
|
Loading…
Reference in a new issue