Skip to content

Commit ebf958e

Browse files
ClearlyClairehiyuki2578
authored andcommitted
Fix duplicate HTML ids in /about (mastodon#11803)
Fixes mastodon#11329
1 parent a756c8e commit ebf958e

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

app/views/about/_login.html.haml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
= simple_form_for(new_user, url: user_session_path) do |f|
1+
= simple_form_for(new_user, url: user_session_path, namespace: 'login') do |f|
22
.fields-group
33
- if use_seamless_external_login?
44
= 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

app/views/about/_registration.html.haml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
= simple_form_for(new_user, url: user_registration_path) do |f|
1+
= simple_form_for(new_user, url: user_registration_path, namespace: 'registration') do |f|
22
.simple_form__overlay-area
33
%p.lead= t('about.federation_hint_html', instance: content_tag(:strong, site_hostname))
44

0 commit comments

Comments
 (0)