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