%= form_for application, url: doorkeeper_submit_path(application), html: { role: 'form' } do |f| %> <% if application.errors.any? %>
<%= t('doorkeeper.applications.form.error') %>