Merge remote-tracking branch 'parent/main' into upstream-20240128
This commit is contained in:
commit
3e065f4e12
200 changed files with 2190 additions and 738 deletions
|
@ -72,7 +72,7 @@
|
|||
.fields-group
|
||||
= f.input :agreement,
|
||||
as: :boolean,
|
||||
label: t('auth.user_agreement_html', privacy_policy_path: privacy_policy_path, terms_of_service_path: terms_of_service_path),
|
||||
label: TermsOfService.live.exists? ? t('auth.user_agreement_html', privacy_policy_path: privacy_policy_path, terms_of_service_path: terms_of_service_path) : t('auth.user_privacy_agreement_html', privacy_policy_path: privacy_policy_path),
|
||||
required: false,
|
||||
wrapper: :with_label
|
||||
|
||||
|
|
|
@ -38,6 +38,8 @@
|
|||
input_html: { 'aria-label': t('auth.disable_custom_css') },
|
||||
label: t('auth.disable_custom_css'),
|
||||
wrapper: :with_label
|
||||
- else
|
||||
= f.hidden_field :disable_css
|
||||
|
||||
.actions
|
||||
= f.button :button, t('auth.login'), type: :submit
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue