Sha256: ece37e1c07be10d6431535bc480fceb01bb80201ed7b96fae8f36450d57c3e4c
Contents?: true
Size: 351 Bytes
Versions: 20
Compression:
Stored size: 351 Bytes
Contents
if @comment.errors.empty? page.visual_effect :highlight, "comment#{@comment[:id]}", :duration => 1.0 page.replace "comment#{@comment[:id]}", :partial=>'comments/li', :collection => [@comment] 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