8 lines
487 B
Text
8 lines
487 B
Text
= gitlab_ui_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.each_key do |variant|
|
|
.gl-mb-4
|
|
= f.gitlab_ui_radio_component :whats_new_variant, variant, whats_new_variants_label(variant), help_text: whats_new_variants_description(variant)
|
|
|
|
= f.submit _('Save changes'), pajamas_button: true
|