<%= form_tag oauth_authorized_application_path(application), method: :delete do %>
  <button type="submit" onclick="return confirm(<%= t('doorkeeper.authorized_applications.confirmations.revoke').to_json %>)" class="inline-flex items-center gap-2 px-4 py-2 bg-red hover:opacity-90 text-on-primary font-medium rounded transition-colors duration-200">
    <svg class="w-5 h-5" fill="none" stroke="currentColor" stroke-width="2" viewBox="0 0 24 24">
      <path stroke-linecap="round" stroke-linejoin="round" d="M18.364 18.364A9 9 0 005.636 5.636m12.728 12.728A9 9 0 015.636 5.636m12.728 12.728L5.636 5.636" />
    </svg>
    <%= t('doorkeeper.authorized_applications.buttons.revoke') %>
  </button>
<% end %>
