logo

mastofe

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

show.html.haml (909B)


  1. - content_for :page_title do
  2. = t('doorkeeper.applications.show.title', name: @application.name)
  3. %p.hint= t('applications.warning')
  4. .table-wrapper
  5. %table.table
  6. %tbody
  7. %tr
  8. %th= t('doorkeeper.applications.show.application_id')
  9. %td
  10. %code= @application.uid
  11. %tr
  12. %th= t('doorkeeper.applications.show.secret')
  13. %td
  14. %code= @application.secret
  15. %tr
  16. %th{ rowspan: 2}= t('applications.your_token')
  17. %td
  18. %code= current_user.token_for_app(@application).token
  19. %tr
  20. %td= table_link_to 'refresh', t('applications.regenerate_token'), regenerate_settings_application_path(@application), method: :post
  21. %hr/
  22. = simple_form_for @application, url: settings_application_path(@application), method: :put do |f|
  23. = render 'fields', f: f
  24. .actions
  25. = f.button :button, t('generic.save_changes'), type: :submit