create a js module to handle the question forms
[shapado:piglops-shapado.git] / app / views / questions / _reward_info.html.haml
1 -if @question.reward.present? && @question.reward.active
2   This question has an open reward worth
3   = "+#{@question.reward.reputation}"
4   reputation from
5   = link_to @question.reward.created_by.name, user_path(@question.reward.created_by)
6   ending in
7   = distance_of_time_in_words(Time.now, @question.reward.ends_at)