Commit 67605202 authored by Illya Klymov's avatar Illya Klymov

Merge branch '358321-use-pajamas-checkbox' into 'master'

Use pajamas checkbox for appearance header and footer form

See merge request gitlab-org/gitlab!84850
parents 3ec3f085 c1318de6
- parsed_with_gfm = (_("Content parsed with %{link}.") % { link: link_to('GitLab Flavored Markdown', help_page_path('user/markdown'), target: '_blank') }).html_safe
= form_for @appearance, url: admin_application_settings_appearances_path, html: { class: 'gl-mt-3' } do |f|
= gitlab_ui_form_for @appearance, url: admin_application_settings_appearances_path, html: { class: 'gl-mt-3' } do |f|
= form_errors(@appearance)
......
......@@ -14,13 +14,10 @@
= form.label :footer_message, _('Footer message'), class: 'col-form-label label-bold'
= form.text_area :footer_message, placeholder: _('State your message to activate'), class: "form-control gl-form-input js-autosize"
.form-group
.form-check
= form.check_box :email_header_and_footer_enabled, class: 'form-check-input'
= form.label :email_header_and_footer_enabled, class: 'label-bold' do
= _('Enable header and footer in emails')
.form-text.text-muted
= _('Add header and footer to emails. Please note that color settings will only be applied within the application interface')
= form.gitlab_ui_checkbox_component :email_header_and_footer_enabled,
_('Enable header and footer in emails'),
help_text: _('Add header and footer to emails. Please note that color settings will only be applied within the application interface'),
label_options: { class: 'gl-font-weight-bold!' }
.form-group.js-toggle-colors-container
%button.btn.gl-button.btn-link.js-toggle-colors-link{ type: 'button' }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment