|
4 | 4 |
|
5 | 5 | <% @body_id = 'login' %> |
6 | 6 | <div id="existing-customer"> |
7 | | - <h6><%= I18n.t('spree.admin_login') %></h6> |
| 7 | + <h6><%= t('spree.admin_login') %></h6> |
8 | 8 | <div data-hook="login"> |
9 | 9 | <%= form_for Spree::User.new, as: :spree_user, url: spree.admin_create_new_session_path do |f| %> |
10 | 10 | <div id="password-credentials"> |
11 | 11 | <p> |
12 | | - <%= f.label :email, I18n.t('spree.email') %><br /> |
| 12 | + <%= f.label :email, t('spree.email') %><br /> |
13 | 13 | <%= f.email_field :email, class: 'title', tabindex: 1, autocomplete: 'username' %> |
14 | 14 | </p> |
15 | 15 | <p> |
16 | | - <%= f.label :password, I18n.t('spree.password') %><br /> |
| 16 | + <%= f.label :password, t('spree.password') %><br /> |
17 | 17 | <%= f.password_field :password, class: 'title', tabindex: 2, autocomplete: 'current-password' %> |
18 | 18 | </p> |
19 | 19 | </div> |
20 | 20 | <p> |
21 | 21 | <%= f.check_box :remember_me, tabindex: 3 %> |
22 | | - <%= f.label :remember_me, I18n.t('spree.remember_me') %> |
| 22 | + <%= f.label :remember_me, t('spree.remember_me') %> |
23 | 23 | </p> |
24 | 24 |
|
25 | | - <p><%= f.submit I18n.t('spree.login'), class: 'btn btn-primary', tabindex: 4 %></p> |
| 25 | + <p><%= f.submit t('spree.login'), class: 'btn btn-primary', tabindex: 4 %></p> |
26 | 26 | <% end %> |
27 | | - <%= I18n.t('spree.or') %> |
28 | | - <%= link_to I18n.t('spree.forgot_password'), spree.admin_recover_password_path %> |
| 27 | + <%= t('spree.or') %> |
| 28 | + <%= link_to t('spree.forgot_password'), spree.admin_recover_password_path %> |
29 | 29 | </div> |
30 | 30 | </div> |
31 | 31 | <div data-hook="login_extras"></div> |
0 commit comments