debian-mirror-gitlab/app/views/admin/application_settings/_whats_new.html.haml
2022-08-27 11:52:29 +05:30

8 lines
522 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, pajamas_alert: true)
- 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'), class: "gl-button btn btn-confirm"