Browse Source

Fix duplicate HTML ids in /about (#11803)

Fixes #11329
master
ThibG 5 years ago
committed by Eugen Rochko
parent
commit
2b2b03a7da
2 changed files with 2 additions and 2 deletions
  1. +1
    -1
      app/views/about/_login.html.haml
  2. +1
    -1
      app/views/about/_registration.html.haml

+ 1
- 1
app/views/about/_login.html.haml View File

@ -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 .fields-group
- if use_seamless_external_login? - 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 = 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

+ 1
- 1
app/views/about/_registration.html.haml View File

@ -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 .simple_form__overlay-area
%p.lead= t('about.federation_hint_html', instance: content_tag(:strong, site_hostname)) %p.lead= t('about.federation_hint_html', instance: content_tag(:strong, site_hostname))

Loading…
Cancel
Save