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.

26 lines
802 B

  1. <div class="page-header">
  2. <h1><%= t('.title') %></h1>
  3. </div>
  4. <p><%= link_to t('.new'), new_oauth_application_path, class: 'btn btn-success' %></p>
  5. <table class="table table-striped">
  6. <thead>
  7. <tr>
  8. <th><%= t('.name') %></th>
  9. <th><%= t('.callback_url') %></th>
  10. <th></th>
  11. <th></th>
  12. </tr>
  13. </thead>
  14. <tbody>
  15. <% @applications.each do |application| %>
  16. <tr id="application_<%= application.id %>">
  17. <td><%= link_to application.name, oauth_application_path(application) %></td>
  18. <td><%= application.redirect_uri %></td>
  19. <td><%= link_to t('doorkeeper.applications.buttons.edit'), edit_oauth_application_path(application), class: 'btn btn-link' %></td>
  20. <td><%= render 'delete_form', application: application %></td>
  21. </tr>
  22. <% end %>
  23. </tbody>
  24. </table>