metamaps--metamaps/app/views/doorkeeper/applications/_delete_form.html.erb
2016-03-24 17:16:27 -07:00

5 lines
339 B
Text

<%- submit_btn_css ||= 'button red-button' %>
<%= form_tag oauth_application_path(application) do %>
<input type="hidden" name="_method" value="delete">
<%= submit_tag t('doorkeeper.applications.buttons.destroy'), onclick: "return confirm('#{ t('doorkeeper.applications.confirmations.destroy') }')", class: submit_btn_css %>
<% end %>