Add label to "Why do you want to join" field during sign-up (#38936)

This commit is contained in:
diondiondion 2026-05-07 13:34:54 +02:00 committed by GitHub
parent 27e90864ac
commit 53d0499254
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -61,14 +61,11 @@
wrapper: :with_block_label
- if approved_registrations? && @invite.blank?
%p.lead= t('auth.sign_up.manual_review', domain: site_hostname)
.fields-group
= f.simple_fields_for :invite_request, resource.invite_request || resource.build_invite_request do |invite_request_fields|
= invite_request_fields.input :text,
as: :text,
hint: false,
label: false,
hint: t('auth.sign_up.manual_review', domain: site_hostname),
input_html: { maxlength: UserInviteRequest::TEXT_SIZE_LIMIT },
required: Setting.require_invite_text,
wrapper: :with_block_label