debian-mirror-gitlab/app/views/doorkeeper/applications/_delete_form.html.haml

11 lines
467 B
Text
Raw Normal View History

2015-04-26 12:48:37 +05:30
- submit_btn_css ||= 'btn btn-link btn-remove btn-sm'
= form_tag oauth_application_path(application) do
2017-08-17 22:00:37 +05:30
%input{ :name => "_method", :type => "hidden", :value => "delete" }/
2016-06-02 11:05:42 +05:30
- if defined? small
2018-11-18 11:00:15 +05:30
= button_tag type: "submit", class: "btn btn-transparent", data: { confirm: _("Are you sure?") } do
2016-06-02 11:05:42 +05:30
%span.sr-only
2018-11-18 11:00:15 +05:30
= _('Destroy')
2016-06-02 11:05:42 +05:30
= icon('trash')
- else
2018-11-18 11:00:15 +05:30
= submit_tag _('Destroy'), data: { confirm: _("Are you sure?") }, class: submit_btn_css