diff options
author | Jacob Schatz <jschatz1@gmail.com> | 2017-10-19 21:35:22 -0400 |
---|---|---|
committer | Jacob Schatz <jschatz1@gmail.com> | 2017-10-19 21:35:22 -0400 |
commit | ff351b94fcecec1eb4a548a3b723de910e1a94ec (patch) | |
tree | 4d2376ef71e8451854e2a7c5e3bf442ce621aad2 | |
parent | 925eabf37efcc2daddd916b992983ae97e72aa8f (diff) | |
download | gitlab-ce-ff351b94fcecec1eb4a548a3b723de910e1a94ec.tar.gz |
Update applications index.
-rw-r--r-- | app/views/admin/applications/_delete_form.html.haml | 2 | ||||
-rw-r--r-- | app/views/admin/applications/index.html.haml | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/app/views/admin/applications/_delete_form.html.haml b/app/views/admin/applications/_delete_form.html.haml index 9bf705ecdfb..2561e664beb 100644 --- a/app/views/admin/applications/_delete_form.html.haml +++ b/app/views/admin/applications/_delete_form.html.haml @@ -1,4 +1,4 @@ -- submit_btn_css ||= 'btn btn-link btn-danger' +- submit_btn_css ||= 'btn btn-danger' = form_tag admin_application_path(application) do %input{ :name => "_method", :type => "hidden", :value => "delete" }/ = submit_tag 'Delete', onclick: "return confirm('Are you sure you want to delete this application?')", class: submit_btn_css diff --git a/app/views/admin/applications/index.html.haml b/app/views/admin/applications/index.html.haml index 94d33fa6489..48b4b3030aa 100644 --- a/app/views/admin/applications/index.html.haml +++ b/app/views/admin/applications/index.html.haml @@ -21,5 +21,5 @@ %td= application.redirect_uri %td= application.access_tokens.map(&:resource_owner_id).uniq.count %td= application.trusted? ? 'Y': 'N' - %td= link_to 'Edit', edit_admin_application_path(application), class: 'btn btn-link' + %td= link_to 'Edit', edit_admin_application_path(application), class: 'btn btn-default' %td= render 'delete_form', application: application |