summaryrefslogtreecommitdiff
path: root/app/views/projects/pages_domains/new.html.haml
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/projects/pages_domains/new.html.haml')
-rw-r--r--app/views/projects/pages_domains/new.html.haml6
1 files changed, 4 insertions, 2 deletions
diff --git a/app/views/projects/pages_domains/new.html.haml b/app/views/projects/pages_domains/new.html.haml
index 5a397c9d3c7..376ce3f68aa 100644
--- a/app/views/projects/pages_domains/new.html.haml
+++ b/app/views/projects/pages_domains/new.html.haml
@@ -1,10 +1,12 @@
- add_to_breadcrumbs "Pages", project_pages_path(@project)
- page_title 'New Pages Domain'
-%h3.page_title
+%h3.page-title
New Pages Domain
%hr.clearfix
%div
- = form_for [@project.namespace.becomes(Namespace), @project, @domain], html: { class: 'form-horizontal fieldset-form' } do |f|
+ = form_for [@project.namespace.becomes(Namespace), @project, @domain], html: { class: 'fieldset-form' } do |f|
= render 'form', { f: f }
.form-actions
= f.submit 'Create New Domain', class: "btn btn-save"
+ .float-right
+ = link_to _('Cancel'), project_pages_path(@project), class: 'btn btn-cancel'