@@ -11,7 +11,6 | |||||
11 | <th><%=l(:field_host)%></th> |
|
11 | <th><%=l(:field_host)%></th> | |
12 | <th><%=l(:label_user_plural)%></th> |
|
12 | <th><%=l(:label_user_plural)%></th> | |
13 | <th></th> |
|
13 | <th></th> | |
14 | <th></th> |
|
|||
15 | </tr></thead> |
|
14 | </tr></thead> | |
16 | <tbody> |
|
15 | <tbody> | |
17 | <% for source in @auth_sources %> |
|
16 | <% for source in @auth_sources %> | |
@@ -20,11 +19,13 | |||||
20 | <td align="center"><%= source.auth_method_name %></td> |
|
19 | <td align="center"><%= source.auth_method_name %></td> | |
21 | <td align="center"><%= source.host %></td> |
|
20 | <td align="center"><%= source.host %></td> | |
22 | <td align="center"><%= source.users.count %></td> |
|
21 | <td align="center"><%= source.users.count %></td> | |
23 | <td align="center"><%= link_to l(:button_test), :action => 'test_connection', :id => source %></td> |
|
22 | <td class="buttons"> | |
24 |
|
|
23 | <%= link_to l(:button_test), :action => 'test_connection', :id => source %> | |
|
24 | <%= link_to l(:button_delete), { :action => 'destroy', :id => source }, | |||
25 | :confirm => l(:text_are_you_sure), |
|
25 | :confirm => l(:text_are_you_sure), | |
26 |
:class => |
|
26 | :class => 'icon icon-del', | |
27 |
:disabled => source.users.any? %> |
|
27 | :disabled => source.users.any? %> | |
|
28 | </td> | |||
28 | </tr> |
|
29 | </tr> | |
29 | <% end %> |
|
30 | <% end %> | |
30 | </tbody> |
|
31 | </tbody> |
General Comments 0
You need to be logged in to leave comments.
Login now