diff options
author | Jacopo <beschi.jacopo@gmail.com> | 2018-03-27 18:33:22 +0200 |
---|---|---|
committer | Jacopo <beschi.jacopo@gmail.com> | 2018-03-27 18:36:23 +0200 |
commit | 76c926db9b5165f413d32e397cd423a8e87fcab5 (patch) | |
tree | 630f67864babb5d2de252f109d6c75b8cc03b355 | |
parent | 7c626d2d0d9c919ed2086fdd34e1ad6137b86647 (diff) | |
download | gitlab-ce-76c926db9b5165f413d32e397cd423a8e87fcab5.tar.gz |
Adds cancel btn to new pages domain page
-rw-r--r-- | app/views/projects/pages_domains/new.html.haml | 2 | ||||
-rw-r--r-- | changelogs/unreleased/27210-add-cancel-btn-to-new-page-domain.yml | 5 |
2 files changed, 7 insertions, 0 deletions
diff --git a/app/views/projects/pages_domains/new.html.haml b/app/views/projects/pages_domains/new.html.haml index 5a397c9d3c7..e49163880c7 100644 --- a/app/views/projects/pages_domains/new.html.haml +++ b/app/views/projects/pages_domains/new.html.haml @@ -8,3 +8,5 @@ = render 'form', { f: f } .form-actions = f.submit 'Create New Domain', class: "btn btn-save" + .pull-right + = link_to _('Cancel'), project_pages_path(@project), class: 'btn btn-cancel' diff --git a/changelogs/unreleased/27210-add-cancel-btn-to-new-page-domain.yml b/changelogs/unreleased/27210-add-cancel-btn-to-new-page-domain.yml new file mode 100644 index 00000000000..d96f7e54c8d --- /dev/null +++ b/changelogs/unreleased/27210-add-cancel-btn-to-new-page-domain.yml @@ -0,0 +1,5 @@ +--- +title: Adds cancel btn to new pages domain page +merge_request: 18026 +author: Jacopo Beschi @jacopo-beschi +type: added |