metamaps--metamaps/views/doorkeeper/applications/_delete_form.js
2018-03-05 13:29:58 -05:00

5 lines
333 B
JavaScript

{- 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') }')", className: submit_btn_css }
{ end }