summaryrefslogtreecommitdiff
path: root/app/views/admin/application_settings/_whats_new.html.haml
blob: 70ba994d21efc264ca8c32cc63c047986340e7de (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
= form_for @application_setting, url: preferences_admin_application_settings_path(anchor: 'js-whats-new-settings'), html: { class: 'fieldset-form whats-new-settings' } do |f|
  = form_errors(@application_setting)

  - whats_new_variants.keys.each do |variant|
    .form-check.gl-mb-4
      = f.radio_button :whats_new_variant, variant, class: 'form-check-input'
      = f.label :whats_new_variant, value: variant, class: 'form-check-label' do
        .font-weight-bold
          = whats_new_variants_label(variant)
        .option-description
          = whats_new_variants_description(variant)

  = f.submit _('Save changes'), class: "gl-button btn btn-confirm"