logo

mastofe

My custom branche(s) on git.pleroma.social/pleroma/mastofe git clone https://hacktivis.me/git/mastofe.git

index.html.haml (778B)


  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'