summaryrefslogtreecommitdiff
path: root/app/views/projects/pages_domains/new.html.haml
blob: c88255e23f975f1e7e90a1cd1cb7103c459d6132 (plain)
1
2
3
4
5
6
7
8
9
10
11
- add_to_breadcrumbs _("Pages"), project_pages_path(@project)
- page_title _('New Pages Domain')
%h1.page-title.gl-font-size-h-display
  = _("New Pages Domain")
= render 'projects/pages_domains/helper_text'
%div
  = gitlab_ui_form_for [@project, domain_presenter], html: { class: 'fieldset-form' } do |f|
    = render 'form', { f: f }
    .form-actions.gl-display-flex
      = f.submit _('Create New Domain'), class: 'gl-mr-3', pajamas_button: true
      = link_to _('Cancel'), project_pages_path(@project), class: 'gl-button btn btn-default btn-cancel'