Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorValery Sizov <vsv2711@gmail.com>2014-12-19 17:15:29 +0300
committerValery Sizov <vsv2711@gmail.com>2014-12-24 16:38:07 +0300
commite41dadcb33fda44ee274daa673bd933e13aa90eb (patch)
treeef0dc6ecea0020fe1ce8598342bcbf7e620984fe /app/views/doorkeeper/authorized_applications/_delete_form.html.haml
parent5cf2bd4c997d84e9a02d722d6ba870c24b06cc0f (diff)
Doorkeeper integration
Diffstat (limited to 'app/views/doorkeeper/authorized_applications/_delete_form.html.haml')
-rw-r--r--app/views/doorkeeper/authorized_applications/_delete_form.html.haml4
1 files changed, 4 insertions, 0 deletions
diff --git a/app/views/doorkeeper/authorized_applications/_delete_form.html.haml b/app/views/doorkeeper/authorized_applications/_delete_form.html.haml
new file mode 100644
index 00000000000..5cbb4a70c19
--- /dev/null
+++ b/app/views/doorkeeper/authorized_applications/_delete_form.html.haml
@@ -0,0 +1,4 @@
+- submit_btn_css ||= 'btn btn-link btn-remove'
+= form_tag oauth_authorized_application_path(application) do
+ %input{:name => "_method", :type => "hidden", :value => "delete"}/
+ = submit_tag 'Revoke', onclick: "return confirm('Are you sure?')", class: 'btn btn-link btn-remove btn-small' \ No newline at end of file