]> git.openstreetmap.org Git - rails.git/commitdiff
Merge remote-tracking branch 'upstream/pull/4860'
authorTom Hughes <tom@compton.nu>
Wed, 29 May 2024 18:18:23 +0000 (19:18 +0100)
committerTom Hughes <tom@compton.nu>
Wed, 29 May 2024 18:18:23 +0000 (19:18 +0100)
app/views/sessions/new.html.erb

index acbf8dab01d22bdc3ede7082ca0fe3155ce7f22d..c02b2d3762f264323b92b0c57980759926b8e70c 100644 (file)
 
     <div class="row">
       <div class="col">
-        <%= f.label :password, :class => "form-label" %>
+        <%= f.label :password, t(".password"), :class => "form-label" %>
       </div>
       <div class="col text-end">
         <small><%= link_to(t(".lost password link"), user_forgot_password_path) %></small>
       </div>
     </div>
-    <input class="form-control mb-3" type="password" name="password" id="password" tabindex="2" value="" autocomplete="off" />
+    <input class="form-control mb-3" type="password" name="password" id="password" tabindex="2" value="" autocomplete="on" />
 
     <%= f.form_group do %>
       <%= f.check_box :remember_me, { :label => t(".remember"), :tabindex => 3, :checked => (params[:remember_me] == "yes") }, "yes" %>