X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/a7d959e5886d8bf3003e798b375bf5b4e644d18c..a8020dc47555d4520b9218916693ca691ae7dbe1:/app/views/users/account.html.erb diff --git a/app/views/users/account.html.erb b/app/views/users/account.html.erb index 4562033a2..10b33063e 100644 --- a/app/views/users/account.html.erb +++ b/app/views/users/account.html.erb @@ -14,14 +14,14 @@ <%= f.text_field :display_name %> <%= f.email_field :email, :disabled => true, :label => t(".current email address") %> - <%= f.email_field :new_email, :autocomplete => :off %> - <%= f.password_field :pass_crypt, :value => "", :autocomplete => :off %> - <%= f.password_field :pass_crypt_confirmation, :value => "", :autocomplete => :off %> + <%= f.email_field :new_email, :autocomplete => "email" %> + <%= f.password_field :pass_crypt, :value => "", :autocomplete => "new-password" %> + <%= f.password_field :pass_crypt_confirmation, :value => "", :autocomplete => "new-password" %>
- <%= f.select(:auth_provider, Auth.providers, :hide_label => "true", :wrapper => { :class => "col-auto mb-0" }) %> + <%= f.select(:auth_provider, Auth.providers, :hide_label => true, :wrapper => { :class => "col-auto mb-0" }) %> <%= f.text_field(:auth_uid, :hide_label => true, :wrapper => { :class => "col mb-0" }) %>
(" target="_new"><%= t ".openid.link text" %>) @@ -94,15 +94,15 @@
<%= t ".home location" -%>
class="nohome"<% end %>> -

<%= t ".no home location" %>

+

<%= t ".no home location" %>

<%= f.text_field :home_lat, :wrapper_class => "col-sm-4", :id => "home_lat" %> <%= f.text_field :home_lon, :wrapper_class => "col-sm-4", :id => "home_lon" %>
-
- checked="checked" <% end %> id="updatehome" /> - +
+ checked="checked" <% end %> id="updatehome" /> +
<%= tag.div "", :id => "map", :class => "content_map set_location" %>