<div class="note">
<p class="alert alert-info"><%= t("javascripts.notes.new.intro") %></p>
<form action="#">
- <input type="hidden" name="lon">
- <input type="hidden" name="lat">
+ <input type="hidden" name="lon" autocomplete="off">
+ <input type="hidden" name="lat" autocomplete="off">
<div class="form-group">
<textarea class="form-control" name="text" cols="40" rows="10" maxlength="2000" placeholder="<%= t("javascripts.notes.new.advice") %>"></textarea>
</div>
<% end -%>
<% else %>
<form action="#">
- <input type="hidden" name="text" value="">
+ <input type="hidden" name="text" value="" autocomplete="off">
<div class="btn-wrapper">
<% if current_user and current_user.moderator? -%>
<input type="submit" name="hide" value="<%= t("javascripts.notes.show.hide") %>" class="btn btn-light" data-note-id="<%= @note.id %>" data-method="DELETE" data-url="<%= note_url(@note, "json") %>">
<%= text_field_tag :search_by_user,
params[:search_by_user],
:placeholder => t(".reported_user"),
+ :autocomplete => "on",
:class => "form-control" %>
</div>
<div class="form-group col-md-auto">
<div class="input-group flex-nowrap">
<div class='query_wrapper position-relative flex-grow-1'>
<%= link_to t("site.search.where_am_i"), "#", :class => "describe_location position-absolute", :title => t("site.search.where_am_i_title") %>
- <%= text_field_tag "query", params[:query], :placeholder => t("site.search.search"), :autofocus => autofocus, :class => "form-control form-control-sm" %>
+ <%= text_field_tag "query", params[:query], :placeholder => t("site.search.search"), :autofocus => autofocus, :autocomplete => "on", :class => "form-control form-control-sm" %>
</div>
<div class="input-group-append">
<%= submit_tag t("site.search.submit_text"), :class => "btn btn-sm btn-primary", :data => { :disable_with => false } %>
<%= image_tag "marker-green.png", :class => "routing_marker mx-auto d-block", :data => { :type => "from" }, :draggable => "true" %>
</div>
<div class="col">
- <%= text_field_tag "route_from", params[:from], :placeholder => t("site.search.from"), :class => "form-control form-control-sm" %>
+ <%= text_field_tag "route_from", params[:from], :placeholder => t("site.search.from"), :autocomplete => "on", :class => "form-control form-control-sm" %>
</div>
</div>
<div class="form-row m-1">
<%= image_tag "marker-red.png", :class => "routing_marker mx-auto d-block", :data => { :type => "to" }, :draggable => "true" %>
</div>
<div class="col">
- <%= text_field_tag "route_to", params[:to], :placeholder => t("site.search.to"), :class => "form-control form-control-sm" %>
+ <%= text_field_tag "route_to", params[:to], :placeholder => t("site.search.to"), :autocomplete => "on", :class => "form-control form-control-sm" %>
</div>
</div>
<div class="form-row m-1">
<% end %>
<%= bootstrap_form_for @message do |f| %>
- <%= hidden_field_tag :display_name, @message.recipient.display_name %>
+ <%= hidden_field_tag :display_name, @message.recipient.display_name, :autocomplete => "off" %>
<%= f.text_field :title %>
<%= f.richtext_field :body, :cols => 80, :rows => 20 %>
<td><%= token.authorized_at %></td>
<td>
<%= form_tag({ :controller => "oauth", :action => "revoke" }) do %>
- <%= hidden_field_tag "token", token.token %>
+ <%= hidden_field_tag "token", token.token, :autocomplete => "off" %>
<%= submit_tag t(".revoke"), :class => "btn btn-sm btn-primary" %>
<% end %>
</td>
<p class='text-muted'><%= t ".no account" %> <%= link_to t(".register now"), user_new_path(:referer => params[:referer]) %></p>
<%= bootstrap_form_tag(:action => "login", :html => { :id => "login_form" }) do |f| %>
- <%= hidden_field_tag("referer", h(params[:referer])) %>
+ <%= hidden_field_tag("referer", h(params[:referer]), :autocomplete => "off") %>
<%= f.text_field :username, :label => t(".email or username"), :tabindex => 1, :value => params[:username] %>
<%= f.password_field :password, :label => t(".password"), :tabindex => 2, :value => "", :help => link_to(t(".lost password link"), :controller => "passwords", :action => "lost_password") %>
<%= form_tag(auth_path(:provider => "openid"), :id => "openid_login_form") do %>
<div id='login_openid_url' class="form-group">
<label for='openid_url'><%= t ".openid_html", :logo => openid_logo %></label>
- <%= hidden_field_tag("referer", params[:referer]) %>
- <%= text_field_tag("openid_url", "", :tabindex => 3, :class => "openid_url form-control") %>
+ <%= hidden_field_tag("referer", params[:referer], :autocomplete => "off") %>
+ <%= text_field_tag("openid_url", "", :tabindex => 3, :autocomplete => "on", :class => "openid_url form-control") %>
<span class="form-text text-muted">(<a href="<%= t "users.account.openid.link" %>" target="_new"><%= t "users.account.openid.link text" %></a>)</span>
</div>
<%= render "sidebar_header", :title => t(".title") %>
<%= form_tag({ :controller => "export", :action => "finish" }, { :class => "export_form" }) do %>
- <%= hidden_field_tag "format", "osm" %>
+ <%= hidden_field_tag "format", "osm", :autocomplete => "off" %>
<div class='export_area_inputs'>
<div class='export_boxy'>
- <%= text_field_tag("maxlat", nil, :size => 10, :class => "export_bound form-control mx-auto") %>
+ <%= text_field_tag("maxlat", nil, :size => 10, :autocomplete => "off", :class => "export_bound form-control mx-auto") %>
<div class="clearfix">
- <%= text_field_tag("minlon", nil, :size => 10, :class => "export_bound form-control") %>
- <%= text_field_tag("maxlon", nil, :size => 10, :class => "export_bound form-control") %>
+ <%= text_field_tag("minlon", nil, :size => 10, :autocomplete => "off", :class => "export_bound form-control") %>
+ <%= text_field_tag("maxlon", nil, :size => 10, :autocomplete => "off", :class => "export_bound form-control") %>
</div>
- <%= text_field_tag("minlat", nil, :size => 10, :class => "export_bound form-control mx-auto") %>
+ <%= text_field_tag("minlat", nil, :size => 10, :autocomplete => "off", :class => "export_bound form-control mx-auto") %>
</div>
<a id='drag_box' href="#"><%= t ".manually_select" %></a>
</div>
user_path(@user))) %></h1>
<% end %>
<%= bootstrap_form_for(@user_block) do |f| %>
- <%= hidden_field_tag "display_name", @user.display_name %>
+ <%= hidden_field_tag "display_name", @user.display_name, :autocomplete => "off" %>
<%= f.richtext_field :reason, :cols => 80, :rows => 20 %>
<%= f.form_group do %>