summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorLeah (ctucx) <leah@ctu.cx>2020-10-17 14:18:39 +0200
committerDaniel Friesel <derf@finalrewind.org>2020-10-17 16:17:10 +0200
commit8170ce5cd94162f53f4fab527355fe195100026e (patch)
treec0e00cbe8db0d1293df0b8dac3aaa9a03cc4648d /templates
parent5d5aa026c25a2b47875126f65dfa2c6d7c495f46 (diff)
disable browser-autocompletion on station-inputs1.18.3
Diffstat (limited to 'templates')
-rw-r--r--templates/add_journey.html.ep4
-rw-r--r--templates/commute.html.ep2
-rw-r--r--templates/edit_journey.html.ep4
-rw-r--r--templates/landingpage.html.ep2
4 files changed, 6 insertions, 6 deletions
diff --git a/templates/add_journey.html.ep b/templates/add_journey.html.ep
index 777fdee..2e75b60 100644
--- a/templates/add_journey.html.ep
+++ b/templates/add_journey.html.ep
@@ -51,7 +51,7 @@
</div>
<div class="row">
<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>
</div>
<div class="input-field col s12">
@@ -65,7 +65,7 @@
</div>
<div class="row">
<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>
</div>
<div class="input-field col s12">
diff --git a/templates/commute.html.ep b/templates/commute.html.ep
index cce1240..77e6373 100644
--- a/templates/commute.html.ep
+++ b/templates/commute.html.ep
@@ -38,7 +38,7 @@
</div>
</div>
<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>
</div>
</div>
diff --git a/templates/edit_journey.html.ep b/templates/edit_journey.html.ep
index 7efb72c..69c5365 100644
--- a/templates/edit_journey.html.ep
+++ b/templates/edit_journey.html.ep
@@ -63,7 +63,7 @@
<tr>
<th scope="row">Start:</th>
<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>
</tr>
<tr>
@@ -81,7 +81,7 @@
<tr>
<th scope="row">Ziel:</th>
<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>
</tr>
<tr>
diff --git a/templates/landingpage.html.ep b/templates/landingpage.html.ep
index afadac5..0bbfd00 100644
--- a/templates/landingpage.html.ep
+++ b/templates/landingpage.html.ep
@@ -54,7 +54,7 @@
</div>
%= form_for 'list_departures' => begin
<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>
</div>
<div class="center-align">