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

Version Path
zena-1.2.8 app/views/comments/remove.rjs
zena-1.2.7 app/views/comments/remove.rjs
zena-1.2.6 app/views/comments/remove.rjs
zena-1.2.5 app/views/comments/remove.rjs
zena-1.2.4 app/views/comments/remove.rjs
zena-1.2.3 app/views/comments/remove.rjs
zena-1.2.2 app/views/comments/remove.rjs
zena-1.2.1 app/views/comments/remove.rjs
zena-1.2.0 app/views/comments/remove.rjs
zena-1.1.3 app/views/comments/remove.rjs
zena-1.1.2 app/views/comments/remove.rjs
zena-1.1.1 app/views/comments/remove.rjs
zena-1.1.0 app/views/comments/remove.rjs
zena-1.0.0 app/views/comments/remove.rjs
zena-1.0.0.rc3 app/views/comments/remove.rjs
zena-1.0.0.rc2 app/views/comments/remove.rjs
zena-1.0.0.rc1 app/views/comments/remove.rjs
zena-1.0.0.beta3 app/views/comments/remove.rjs
zena-1.0.0.beta2 app/views/comments/remove.rjs
zena-1.0.0.beta1 app/views/comments/remove.rjs