]> git.openstreetmap.org Git - rails.git/commitdiff
Re-enable translations for password field
authorAndy Allan <git@gravitystorm.co.uk>
Wed, 29 May 2024 17:48:01 +0000 (18:48 +0100)
committerAndy Allan <git@gravitystorm.co.uk>
Wed, 29 May 2024 17:48:01 +0000 (18:48 +0100)
Fixes regression introduced in c4347c8d9a10bf5c141ad7d355594b93e20545f6

app/views/sessions/new.html.erb

index acbf8dab01d22bdc3ede7082ca0fe3155ce7f22d..f180a29896d6bd0e8c9864e544dd93a00ea2a39b 100644 (file)
@@ -39,7 +39,7 @@
 
     <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>