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/confirmations/new.html.haml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'app/views/auth/confirmations') diff --git a/app/views/auth/confirmations/new.html.haml b/app/views/auth/confirmations/new.html.haml index f34135c63..a5a228cfa 100644 --- a/app/views/auth/confirmations/new.html.haml +++ b/app/views/auth/confirmations/new.html.haml @@ -1,12 +1,12 @@ - content_for :page_title do - Confirmation instructions + = t('auth.resend_confirmation') = simple_form_for(resource, as: resource_name, url: confirmation_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, "Resend confirmation instructions", type: :submit + = f.button :button, t('auth.resend_confirmation'), type: :submit .form-footer= render "auth/shared/links" -- cgit