Displaying 1 result from an estimated 1 matches for "bid_".
Did you mean:
bid
2006 Jul 11
0
Inplace editor oddity
...end
return false
end
@link = KeywordLink.find(params[:id])
previous = @link.max_bid
@link.max_bid = params[:value]
@link.max_bid = previous unless @link.save
render :text => help.number_to_currency(@link.max_bid)
end
#in view
<%= in_place_editor ''bid_'' + keyword.id.to_s,
:url => { :controller => ''keyword'', :action =>
''set_bid'', :id => keyword.keyword_link.id } -%>
thanks,
ed
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://wr...