about summary refs log tree commit diff
path: root/app/views/auth/sessions/new.html.haml
diff options
context:
space:
mode:
authorClaire <claire.github-309c@sitedethib.com>2022-12-15 16:44:29 +0100
committerGitHub <noreply@github.com>2022-12-15 16:44:29 +0100
commitbbc49f15e030df4e75af06ece8c5302b80b69342 (patch)
tree1d0e721167d0fbf1d32afc3712e6e7e9fba94dee /app/views/auth/sessions/new.html.haml
parent725f21662f7ba287b36adc1d973c2aa57296c781 (diff)
Add explanation text to log-in page (#20946)
Diffstat (limited to 'app/views/auth/sessions/new.html.haml')
-rw-r--r--app/views/auth/sessions/new.html.haml2
1 files changed, 2 insertions, 0 deletions
diff --git a/app/views/auth/sessions/new.html.haml b/app/views/auth/sessions/new.html.haml
index 304e3ab84..e98c1ff3d 100644
--- a/app/views/auth/sessions/new.html.haml
+++ b/app/views/auth/sessions/new.html.haml
@@ -6,6 +6,8 @@
 
 - unless omniauth_only?
   = simple_form_for(resource, as: resource_name, url: session_path(resource_name)) do |f|
+    %h1.title= t('auth.sign_in.title', domain: site_hostname)
+    %p.lead= t('auth.sign_in.preamble_html', domain: site_hostname)
     .fields-group
       - if use_seamless_external_login?
         = f.input :email, autofocus: true, wrapper: :with_label, label: t('simple_form.labels.defaults.username_or_email'), input_html: { 'aria-label': t('simple_form.labels.defaults.username_or_email') }, hint: false