diff --git a/app/views/auth_sources/list.rhtml b/app/views/auth_sources/list.rhtml index 5729ec77c..a29a177c7 100644 --- a/app/views/auth_sources/list.rhtml +++ b/app/views/auth_sources/list.rhtml @@ -11,7 +11,6 @@ <%=l(:field_host)%> <%=l(:label_user_plural)%> - <% for source in @auth_sources %> @@ -20,11 +19,13 @@ <%= source.auth_method_name %> <%= source.host %> <%= source.users.count %> - <%= link_to l(:button_test), :action => 'test_connection', :id => source %> - <%= button_to l(:button_delete), { :action => 'destroy', :id => source }, + + <%= link_to l(:button_test), :action => 'test_connection', :id => source %> + <%= link_to l(:button_delete), { :action => 'destroy', :id => source }, :confirm => l(:text_are_you_sure), - :class => "button-small", - :disabled => source.users.any? %> + :class => 'icon icon-del', + :disabled => source.users.any? %> + <% end %>