Added a link to delete a Rate. #1919
This commit is contained in:
@@ -27,9 +27,7 @@
|
||||
<td align="center">
|
||||
<% if rate.unlocked? %>
|
||||
<%= link_to image_tag('edit.png'), edit_rate_path(rate, :back_url => @back_url) %>
|
||||
<%= link_to image_tag('delete.png'),
|
||||
{:action => 'not_implemented', :id => @user, :rate_id => rate },
|
||||
{:method => :post, :confirm => l(:text_are_you_sure) } %>
|
||||
<%= link_to image_tag('delete.png'), rate_path(rate, :back_url => @back_url), :method => :delete, :confirm => l(:text_are_you_sure) %>
|
||||
<% else %>
|
||||
<%= image_tag('locked.png') %>
|
||||
<% end %>
|
||||
|
||||
Reference in New Issue
Block a user