From 3ce6ac0ce2e482bc1f2784c3c7f716172b151902 Mon Sep 17 00:00:00 2001 From: Eugen Rochko Date: Tue, 15 Nov 2016 23:02:57 +0100 Subject: Adding some localizations --- app/views/auth/passwords/new.html.haml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'app/views/auth/passwords/new.html.haml') diff --git a/app/views/auth/passwords/new.html.haml b/app/views/auth/passwords/new.html.haml index 8bed953a5..077a6cea3 100644 --- a/app/views/auth/passwords/new.html.haml +++ b/app/views/auth/passwords/new.html.haml @@ -1,12 +1,12 @@ - content_for :page_title do - Reset password + = t('auth.reset_password') = simple_form_for(resource, as: resource_name, url: password_path(resource_name), html: { method: :post }) do |f| = render 'shared/error_messages', object: resource - = f.input :email, autofocus: true, required: true, placeholder: 'E-mail address', input_html: { 'aria-label' => 'E-mail address' } + = f.input :email, autofocus: true, required: true, placeholder: t('simple_form.labels.defaults.email'), input_html: { 'aria-label' => t('simple_form.labels.defaults.email') } .actions - = f.button :button, "Reset password", type: :submit + = f.button :button, t('auth.reset_password'), type: :submit .form-footer= render "auth/shared/links" -- cgit