Deprecated :confirm => 'Text' option.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9937 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
1 parent
56666a41b8
commit
7b40767428
33 files changed
+45
-63
No files matched your search
@@ -21,11 +21,7 @@
|
||||
<td align="center"><%= h source.users.count %></td>
|
||||
<td class="buttons">
|
||||
<%= link_to l(:button_test), {:action => 'test_connection', :id => source}, :class => 'icon icon-test' %>
|
||||
<%= link_to l(:button_delete), { :action => 'destroy', :id => source },
|
||||
:method => :delete,
|
||||
:confirm => l(:text_are_you_sure),
|
||||
:class => 'icon icon-del',
|
||||
:disabled => source.users.any? %>
|
||||
<%= delete_link auth_source_path(source) %>
|
||||
</td>
|
||||
</tr>
|
||||
<% end %>
|
||||
|
||||
Reference in new issue
Block a user