-if @reviews
- page.hide "createReviewLink" + @review.rule_failure_id.to_s
- page.replace_html "reviewFailure" + @review.rule_failure_id.to_s, :partial => "list", :locals => { :reviews => @reviews }
-else
- page.replace_html "reviewFailure" + @review.rule_failure_id.to_s, :partial => "form"
+if @reviews\r
+ page.replace_html "createReviewLink" + @review.rule_failure_id.to_s, image_tag("reviews/review.png")\r
+ page.replace_html "reviewFailure" + @review.rule_failure_id.to_s, :partial => "list", :locals => { :reviews => @reviews }\r
+else\r
+ page.replace_html "reviewFailure" + @review.rule_failure_id.to_s, :partial => "form"\r
end
\ No newline at end of file