metamaps--metamaps/views/doorkeeper/applications/_delete_form.js

6 lines
333 B
JavaScript
Raw Normal View History

2018-03-04 02:25:42 +00:00
{- submit_btn_css ||= 'button red-button' }
{ form_tag oauth_application_path(application) do }
<input type="hidden" name="_method" value="delete">
2018-03-05 17:33:16 +00:00
{ submit_tag t('doorkeeper.applications.buttons.destroy'), onclick: "return confirm('#{ t('doorkeeper.applications.confirmations.destroy') }')", className: submit_btn_css }
2018-03-04 02:25:42 +00:00
{ end }