about summary refs log tree commit diff
path: root/app/views/auth/sessions
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2016-11-15 23:02:57 +0100
committerEugen Rochko <eugen@zeonfederated.com>2016-11-15 23:02:57 +0100
commit3ce6ac0ce2e482bc1f2784c3c7f716172b151902 (patch)
tree89052410c8e7c856bee1049464ee79463a7db48b /app/views/auth/sessions
parenta4313224d93cd762fd500e687e33247025035af8 (diff)
Adding some localizations
Diffstat (limited to 'app/views/auth/sessions')
-rw-r--r--app/views/auth/sessions/new.html.haml8
1 files changed, 4 insertions, 4 deletions
diff --git a/app/views/auth/sessions/new.html.haml b/app/views/auth/sessions/new.html.haml
index ced85d20c..93b9629f1 100644
--- a/app/views/auth/sessions/new.html.haml
+++ b/app/views/auth/sessions/new.html.haml
@@ -1,11 +1,11 @@
 - content_for :page_title do
-  Log in
+  = t('auth.login')
 
 = simple_form_for(resource, as: resource_name, url: session_path(resource_name)) do |f|
-  = f.input :email, autofocus: true, placeholder: 'E-mail address', required: true, input_html: { 'aria-label' => 'E-mail address' }
-  = f.input :password, placeholder: 'Password', required: true, input_html: { 'aria-label' => 'Password' }
+  = f.input :email, autofocus: true, placeholder: t('simple_form.labels.defaults.email'), required: true, input_html: { 'aria-label' => t('simple_form.labels.defaults.email') }
+  = f.input :password, placeholder: t('simple_form.labels.defaults.password'), required: true, input_html: { 'aria-label' => t('simple_form.labels.defaults.password') }
 
   .actions
-    = f.button :button, "Log in", type: :submit
+    = f.button :button, t('auth.login'), type: :submit
 
 .form-footer= render "auth/shared/links"