2018-04-12 16:11:22 -04:00
|
|
|
= form_for @application_setting, url: admin_application_settings_path, html: { class: 'fieldset-form' } do |f|
|
2018-04-04 05:44:32 -04:00
|
|
|
= form_errors(@application_setting)
|
|
|
|
|
|
|
|
%fieldset
|
2018-04-12 16:11:22 -04:00
|
|
|
.form-group.row
|
2018-04-13 13:49:32 -04:00
|
|
|
.offset-sm-2.col-sm-10
|
2018-04-11 14:05:57 -04:00
|
|
|
.form-check
|
2018-05-31 15:20:46 -04:00
|
|
|
= f.check_box :email_author_in_body, class: 'form-check-input'
|
|
|
|
= f.label :email_author_in_body, class: 'form-check-label' do
|
2018-04-04 05:44:32 -04:00
|
|
|
Include author name in notification email body
|
2018-04-11 14:26:37 -04:00
|
|
|
.form-text.text-muted
|
2018-04-04 05:44:32 -04:00
|
|
|
Some email servers do not support overriding the email sender name.
|
|
|
|
Enable this option to include the name of the author of the issue,
|
|
|
|
merge request or comment in the email body instead.
|
2018-04-12 16:11:22 -04:00
|
|
|
.form-group.row
|
2018-04-13 13:49:32 -04:00
|
|
|
.offset-sm-2.col-sm-10
|
2018-04-11 14:05:57 -04:00
|
|
|
.form-check
|
2018-05-31 15:20:46 -04:00
|
|
|
= f.check_box :html_emails_enabled, class: 'form-check-input'
|
|
|
|
= f.label :html_emails_enabled, class: 'form-check-label' do
|
2018-04-04 05:44:32 -04:00
|
|
|
Enable HTML emails
|
2018-04-11 14:26:37 -04:00
|
|
|
.form-text.text-muted
|
2018-04-04 05:44:32 -04:00
|
|
|
By default GitLab sends emails in HTML and plain text formats so mail
|
|
|
|
clients can choose what format to use. Disable this option if you only
|
|
|
|
want to send emails in plain text format.
|
|
|
|
|
|
|
|
= f.submit 'Save changes', class: "btn btn-success"
|