Sha256: 6d78b19e84bfe7afd6c0190486ebc6522710774678bdf14b610f53d3b7e23c7b
Contents?: true
Size: 331 Bytes
Versions: 20
Compression:
Stored size: 331 Bytes
Contents
if @comment.errors.empty? page.visual_effect :fade, "comment#{@comment[:id]}", :duration => 0.2 if params[:bin] page.replace_html 'bin', :partial=>'comments/bin' end page.replace_html "comment_errors", :inline=>"" else page.replace_html "comment_errors", :inline=>error_messages_for(:comment, :object => @comment) end
Version data entries
20 entries across 20 versions & 1 rubygems