2
0

Add effective date to terms of service (#33993)

This commit is contained in:
Eugen Rochko
2025-03-05 10:01:33 +01:00
committed by GitHub
parent 84164270c6
commit cadda2f957
67 changed files with 201 additions and 126 deletions

View File

@@ -14,6 +14,9 @@
.fields-group
= form.input :changelog, wrapper: :with_block_label, input_html: { rows: 8 }
.fields-group
= form.input :effective_date, wrapper: :with_block_label, as: :date, start_year: Time.zone.today.year
.actions
= form.button :button, t('admin.terms_of_service.save_draft'), type: :submit, name: :action_type, value: :save_draft, class: 'button button-secondary'
= form.button :button, t('admin.terms_of_service.publish'), type: :submit, name: :action_type, value: :publish