mirror of
https://github.com/we-promise/sure.git
synced 2026-04-19 03:54:08 +00:00
Start I18n Internationalization setup (#276)
* start internationalization_setup * add passwords views translations * add account views translations * fix translations * temporary disable i18n used key
This commit is contained in:
committed by
GitHub
parent
64c8774867
commit
c8a659694d
@@ -1,15 +1,15 @@
|
||||
<h1>Update Password</h1>
|
||||
<h1><% t('.title')%></h1>
|
||||
|
||||
<%= form_with model: Current.user, url: password_path do |form| %>
|
||||
<%= auth_messages form %>
|
||||
|
||||
<div>
|
||||
<%= form.label :password_challenge, "Current Password" %>
|
||||
<%= form.label :password_challenge, t('.password_challenge') %>
|
||||
<%= form.password_field :password_challenge %>
|
||||
</div>
|
||||
|
||||
<div>
|
||||
<%= form.label :password, "New Password" %>
|
||||
<%= form.label :password, t('.password') %>
|
||||
<%= form.password_field :password %>
|
||||
</div>
|
||||
|
||||
@@ -19,7 +19,6 @@
|
||||
</div>
|
||||
|
||||
<div>
|
||||
<%= form.submit 'Update Password' %>
|
||||
<%= form.submit t('.submit') %>
|
||||
</div>
|
||||
<% end %>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user