@@ -15,7 +15,7 | |||||
15 | </td> |
|
15 | </td> | |
16 | <td align="right"> |
|
16 | <td align="right"> | |
17 | <small> |
|
17 | <small> | |
18 |
<% if query.editable_by?(User.current) %> |
|
18 | <% if query.editable_by?(User.current) %> | |
19 | <%= link_to l(:button_edit), {:controller => 'queries', :action => 'edit', :id => query}, :class => 'icon icon-edit' %> |
|
19 | <%= link_to l(:button_edit), {:controller => 'queries', :action => 'edit', :id => query}, :class => 'icon icon-edit' %> | |
20 | <%= link_to l(:button_delete), {:controller => 'queries', :action => 'destroy', :id => query}, :confirm => l(:text_are_you_sure), :method => :post, :class => 'icon icon-del' %> |
|
20 | <%= link_to l(:button_delete), {:controller => 'queries', :action => 'destroy', :id => query}, :confirm => l(:text_are_you_sure), :method => :post, :class => 'icon icon-del' %> | |
21 | </small> |
|
21 | </small> |
General Comments 0
You need to be logged in to leave comments.
Login now