Add registration_button_message
This commit is contained in:
parent
41b254af55
commit
39a2e1a1f6
5 changed files with 9 additions and 2 deletions
|
@ -24,5 +24,8 @@
|
|||
.fields-group
|
||||
= f.input :closed_registrations_message, as: :text, wrapper: :with_block_label, input_html: { rows: 2 }
|
||||
|
||||
.fields-group
|
||||
= f.input :registration_button_message, as: :text, kmyblue: true, hint: false, wrapper: :with_label, input_html: { rows: 2 }
|
||||
|
||||
.actions
|
||||
= f.button :button, t('generic.save_changes'), type: :submit
|
||||
|
|
|
@ -40,8 +40,9 @@
|
|||
.fields-group
|
||||
= f.input :agreement, as: :boolean, wrapper: :with_label, label: t('auth.privacy_policy_agreement_html', rules_path: about_more_path, privacy_policy_path: privacy_policy_path), required: true
|
||||
|
||||
%div
|
||||
= t('auth.cloudflare_with_registering')
|
||||
- if Setting.registration_button_message.present?
|
||||
%div
|
||||
= Setting.registration_button_message
|
||||
|
||||
.actions
|
||||
= f.button :button, @invite.present? ? t('auth.register') : sign_up_message, type: :submit
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue