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
@@ -1,7 +1,7 @@
|
||||
<div class="contextual">
|
||||
<% if User.current.allowed_to?(:manage_documents, @project) %>
|
||||
<%= link_to l(:button_edit), edit_document_path(@document), :class => 'icon icon-edit', :accesskey => accesskey(:edit) %>
|
||||
<%= link_to l(:button_delete), document_path(@document), :confirm => l(:text_are_you_sure), :method => :delete, :class => 'icon icon-del' %>
|
||||
<%= delete_link document_path(@document) %>
|
||||
<% end %>
|
||||
</div>
|
||||
|
||||
|
||||
Reference in new issue
Block a user