Files

3 lines
242 B
Plaintext

element = 'rate_' + @rate.project_id.to_s + '_' + @rate.user_id.to_s
page.replace_html element, "<strong>#{link_to number_to_currency(@rate.amount), { :controller => 'users', :action => 'edit', :id => @rate.user, :tab => 'rates'} }</strong>"