socialforge/app/views/bids/set_reward.js.erb

13 lines
212 B
Plaintext

$('#reward_result_<%= @biding_project_id %>').html('<%= j(
if get_prize(@b_p).nil? or get_prize(@b_p) == ""
puts '未评奖'
else
get_prize(@b_p)
end
)
%>')
$('#<%= @biding_project_id %>').hide()