@@ -31,7 +31,7 | |||||
31 | <% if delete_allowed %> |
|
31 | <% if delete_allowed %> | |
32 | <td align="center"> |
|
32 | <td align="center"> | |
33 | <div class="contextual"> |
|
33 | <div class="contextual"> | |
34 |
<%= link_to_if_authorized '', {:controller => 'versions', :action => 'destroy_file', :id => version, :attachment_id => file}, :confirm => l(:text_are_you_sure), :method => :post |
|
34 | <%= link_to_if_authorized image_tag('delete.png'), {:controller => 'versions', :action => 'destroy_file', :id => version, :attachment_id => file}, :confirm => l(:text_are_you_sure), :method => :post %> | |
35 | </div> |
|
35 | </div> | |
36 | </td> |
|
36 | </td> | |
37 | <% end %> |
|
37 | <% end %> |
General Comments 0
You need to be logged in to leave comments.
Login now