From 8170ce5cd94162f53f4fab527355fe195100026e Mon Sep 17 00:00:00 2001 From: "Leah (ctucx)" Date: Sat, 17 Oct 2020 14:18:39 +0200 Subject: [PATCH] disable browser-autocompletion on station-inputs --- templates/add_journey.html.ep | 4 ++-- templates/commute.html.ep | 2 +- templates/edit_journey.html.ep | 4 ++-- templates/landingpage.html.ep | 2 +- 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 @@
- %= 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
@@ -65,7 +65,7 @@
- %= 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
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 @@
- %= 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'
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 @@ Start: - %= 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 @@ -81,7 +81,7 @@ Ziel: - %= 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 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 @@ %= form_for 'list_departures' => begin
- %= 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