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.

list.rhtml 990B

12345678910111213141516171819202122232425262728
  1. <div class="contextual">
  2. <%= link_to l(:label_auth_source_new), {:action => 'new'}, :class => 'icon icon-add' %>
  3. </div>
  4. <h2><%=l(:label_auth_source_plural)%></h2>
  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></th>
  11. <th></th>
  12. </tr></thead>
  13. <tbody>
  14. <% for source in @auth_sources %>
  15. <tr class="<%= cycle("odd", "even") %>">
  16. <td><%= link_to source.name, :action => 'edit', :id => source%></td>
  17. <td align="center"><%= source.auth_method_name %></td>
  18. <td align="center"><%= source.host %></td>
  19. <td align="center"><%= link_to l(:button_test), :action => 'test_connection', :id => source %></td>
  20. <td align="center"><%= button_to l(:button_delete), { :action => 'destroy', :id => source }, :confirm => l(:text_are_you_sure), :class => "button-small" %></td>
  21. </tr>
  22. <% end %>
  23. </tbody>
  24. </table>
  25. <p class="pagination"><%= pagination_links_full @auth_source_pages %></p>