disable browser-autocompletion on station-inputs

This commit is contained in:
Leah (ctucx) 2020-10-17 14:18:39 +02:00 committed by Daniel Friesel
parent 5d5aa026c2
commit 8170ce5cd9
4 changed files with 6 additions and 6 deletions

View file

@ -51,7 +51,7 @@
</div> </div>
<div class="row"> <div class="row">
<div class="input-field col s12"> <div class="input-field col s12">
%= text_field 'dep_station', id => 'dep_station', class => 'autocomplete validate', required => undef %= text_field 'dep_station', id => 'dep_station', class => 'autocomplete validate', autocomplete => 'off', required => undef
<label for="dep_station">Start (Name oder DS100)</label> <label for="dep_station">Start (Name oder DS100)</label>
</div> </div>
<div class="input-field col s12"> <div class="input-field col s12">
@ -65,7 +65,7 @@
</div> </div>
<div class="row"> <div class="row">
<div class="input-field col s12"> <div class="input-field col s12">
%= text_field 'arr_station', id => 'arr_station', class => 'autocomplete validate', required => undef %= text_field 'arr_station', id => 'arr_station', class => 'autocomplete validate', autocomplete => 'off', required => undef
<label for="arr_station">Ziel (Name oder DS100)</label> <label for="arr_station">Ziel (Name oder DS100)</label>
</div> </div>
<div class="input-field col s12"> <div class="input-field col s12">

View file

@ -38,7 +38,7 @@
</div> </div>
</div> </div>
<div class="input-field col s12 m12 l6"> <div class="input-field col s12 m12 l6">
%= text_field 'station', id => 'station', required => undef, class => 'autocomplete contrast-color-text' %= text_field 'station', id => 'station', required => undef, class => 'autocomplete contrast-color-text' autocomplete => 'off'
<label for="station">Fahrtziel</label> <label for="station">Fahrtziel</label>
</div> </div>
</div> </div>

View file

@ -63,7 +63,7 @@
<tr> <tr>
<th scope="row">Start:</th> <th scope="row">Start:</th>
<td class="input-field"> <td class="input-field">
%= text_field 'from_name', id => 'from_name', class => 'autocomplete validate', required => undef %= text_field 'from_name', id => 'from_name', class => 'autocomplete validate', autocomplete => 'off', required => undef
</td> </td>
</tr> </tr>
<tr> <tr>
@ -81,7 +81,7 @@
<tr> <tr>
<th scope="row">Ziel:</th> <th scope="row">Ziel:</th>
<td class="input-field"> <td class="input-field">
%= text_field 'to_name', id => 'to_name', class => 'autocomplete validate', required => undef %= text_field 'to_name', id => 'to_name', class => 'autocomplete validate', autocomplete => 'off', required => undef
</td> </td>
</tr> </tr>
<tr> <tr>

View file

@ -54,7 +54,7 @@
</div> </div>
%= form_for 'list_departures' => begin %= form_for 'list_departures' => begin
<div class="input-field"> <div class="input-field">
%= text_field 'station', id => 'station', class => 'autocomplete contrast-color-text', required => undef %= text_field 'station', id => 'station', class => 'autocomplete contrast-color-text', autocomplete => 'off', required => 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">