summaryrefslogtreecommitdiff
path: root/app/views/doorkeeper
diff options
context:
space:
mode:
authorNicolas <nicolas@gitlab.com>2015-06-14 17:38:27 +0200
committerNicolas <nicolas@gitlab.com>2015-06-15 21:27:20 +0200
commit4cf7d8d956acf5b3cbefa1f4b52d8c0db8d0b04c (patch)
tree8017fdb0fb3ca807c2578c3e3907aebd0d4b5993 /app/views/doorkeeper
parentf18a24f0ac96d2cafffc7dbf08bb644d5243a421 (diff)
downloadgitlab-ce-4cf7d8d956acf5b3cbefa1f4b52d8c0db8d0b04c.tar.gz
Fix consistency issues on New Application page.
Diffstat (limited to 'app/views/doorkeeper')
-rw-r--r--app/views/doorkeeper/applications/_form.html.haml5
-rw-r--r--app/views/doorkeeper/applications/new.html.haml7
2 files changed, 9 insertions, 3 deletions
diff --git a/app/views/doorkeeper/applications/_form.html.haml b/app/views/doorkeeper/applications/_form.html.haml
index a157c9af297..98a61ab211b 100644
--- a/app/views/doorkeeper/applications/_form.html.haml
+++ b/app/views/doorkeeper/applications/_form.html.haml
@@ -24,6 +24,7 @@
Use
%code= Doorkeeper.configuration.native_redirect_uri
for local tests
+
.form-actions
- = f.submit 'Submit', class: "btn btn-primary wide"
- = link_to "Cancel", applications_profile_path, class: "btn btn-default"
+ = f.submit 'Submit', class: "btn btn-create"
+ = link_to "Cancel", applications_profile_path, class: "btn btn-cancel"
diff --git a/app/views/doorkeeper/applications/new.html.haml b/app/views/doorkeeper/applications/new.html.haml
index 655845e4af5..fd32a468b45 100644
--- a/app/views/doorkeeper/applications/new.html.haml
+++ b/app/views/doorkeeper/applications/new.html.haml
@@ -1,2 +1,7 @@
-%h3.page-title New application
+- page_title "New Application"
+
+%h3.page-title New Application
+
+%hr
+
= render 'form', application: @application \ No newline at end of file