about summary refs log tree commit diff
path: root/app/views
diff options
context:
space:
mode:
authorThibG <thib@sitedethib.com>2019-09-10 20:55:23 +0200
committerEugen Rochko <eugen@zeonfederated.com>2019-09-10 20:55:23 +0200
commit2b2b03a7da124a49112e1ce91d80681316065008 (patch)
tree7a987f9ceef175eb994852c64a8ea7ebbe82a5a0 /app/views
parent031ca25014e0ba88d3dcc3086947b41449a672e2 (diff)
Fix duplicate HTML ids in /about (#11803)
Fixes #11329
Diffstat (limited to 'app/views')
-rw-r--r--app/views/about/_login.html.haml2
-rw-r--r--app/views/about/_registration.html.haml2
2 files changed, 2 insertions, 2 deletions
diff --git a/app/views/about/_login.html.haml b/app/views/about/_login.html.haml
index d286f0d3c..fa58f04d7 100644
--- a/app/views/about/_login.html.haml
+++ b/app/views/about/_login.html.haml
@@ -1,4 +1,4 @@
-= simple_form_for(new_user, url: user_session_path) do |f|
+= simple_form_for(new_user, url: user_session_path, namespace: 'login') do |f|
   .fields-group
     - if use_seamless_external_login?
       = f.input :email, placeholder: t('simple_form.labels.defaults.username_or_email'), input_html: { 'aria-label' => t('simple_form.labels.defaults.username_or_email') }, hint: false
diff --git a/app/views/about/_registration.html.haml b/app/views/about/_registration.html.haml
index ff32ec8c4..1333c68c4 100644
--- a/app/views/about/_registration.html.haml
+++ b/app/views/about/_registration.html.haml
@@ -1,4 +1,4 @@
-= simple_form_for(new_user, url: user_registration_path) do |f|
+= simple_form_for(new_user, url: user_registration_path, namespace: 'registration') do |f|
   .simple_form__overlay-area
     %p.lead= t('about.federation_hint_html', instance: content_tag(:strong, site_hostname))