Commit 8170ce5c authored by Leah (ctucx)'s avatar Leah (ctucx) Committed by Birte Kristina Friesel
Browse files

disable browser-autocompletion on station-inputs

parent 5d5aa026
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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">
+1 −1
Original line number Diff line number Diff line
@@ -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>
+2 −2
Original line number Diff line number Diff line
@@ -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>
+1 −1
Original line number Diff line number Diff line
@@ -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">