gitlab-org--gitlab-foss/app/views/projects/pages_domains/edit.html.haml
Nathan Friend 6610f2fdcb
Add auto SSL toggle to Pages domain settings page
This commit adds an auto SSL toggle switch to the settings page of
GitLab Pages domains.  This toggle enable or disabled auto SSL
management via Let's Encrypt.  Toggling the button dynamically
updates the form using client-side JavaScript.  All changes are behind
feature flags.
2019-06-03 19:20:20 -03:00

12 lines
444 B
Text

- add_to_breadcrumbs _("Pages"), project_pages_path(@project)
- breadcrumb_title @domain.domain
- page_title @domain.domain
%h3.page-title
= @domain.domain
= render 'projects/pages_domains/helper_text'
%hr.clearfix
%div
= form_for [@project.namespace.becomes(Namespace), @project, @domain], html: { class: 'fieldset-form' } do |f|
= render 'form', { f: f }
.form-actions
= f.submit _('Save Changes'), class: "btn btn-success"