You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

20 lines
778 B

  1. - content_for :page_title do
  2. = t('doorkeeper.applications.index.title')
  3. .table-wrapper
  4. %table.table
  5. %thead
  6. %tr
  7. %th= t('doorkeeper.applications.index.application')
  8. %th= t('doorkeeper.applications.index.scopes')
  9. %th
  10. %tbody
  11. - @applications.each do |application|
  12. %tr
  13. %td= link_to application.name, settings_application_path(application)
  14. %th= application.scopes
  15. %td
  16. = table_link_to 'times', t('doorkeeper.applications.index.delete'), settings_application_path(application), method: :delete, data: { confirm: t('doorkeeper.applications.confirmations.destroy') }
  17. = paginate @applications
  18. = link_to t('doorkeeper.applications.index.new'), new_settings_application_path, class: 'button'