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.

index.html.erb 965B

12345678910111213141516171819202122232425262728293031
  1. <div class="contextual">
  2. <%= link_to l(:label_auth_source_new), {:action => 'new'}, :class => 'icon icon-add' %>
  3. </div>
  4. <%= title l(:label_auth_source_plural) %>
  5. <table class="list">
  6. <thead><tr>
  7. <th><%=l(:field_name)%></th>
  8. <th><%=l(:field_type)%></th>
  9. <th><%=l(:field_host)%></th>
  10. <th><%=l(:label_user_plural)%></th>
  11. <th></th>
  12. </tr></thead>
  13. <tbody>
  14. <% for source in @auth_sources %>
  15. <tr id="auth-source-<%= source.id %>">
  16. <td class="name"><%= link_to(source.name, :action => 'edit', :id => source)%></td>
  17. <td><%= source.auth_method_name %></td>
  18. <td><%= source.host %></td>
  19. <td><%= source.users.count %></td>
  20. <td class="buttons">
  21. <%= link_to l(:button_test), try_connection_auth_source_path(source), :class => 'icon icon-test' %>
  22. <%= delete_link auth_source_path(source) %>
  23. </td>
  24. </tr>
  25. <% end %>
  26. </tbody>
  27. </table>
  28. <span class="pagination"><%= pagination_links_full @auth_source_pages %></span>