Sha256: 9c918fdcb2217dc97fa8c39c446a9273cca198efe047f3c55d5df9f2ee8f2696

Contents?: true

Size: 310 Bytes

Versions: 13

Compression:

Stored size: 310 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)
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
zena-0.16.9 app/views/comments/remove.rjs
zena-0.16.8 app/views/comments/remove.rjs
zena-0.16.7 app/views/comments/remove.rjs
zena-0.16.6 app/views/comments/remove.rjs
zena-0.16.5 app/views/comments/remove.rjs
zena-0.16.4 app/views/comments/remove.rjs
zena-0.16.3 app/views/comments/remove.rjs
zena-0.16.2 app/views/comments/remove.rjs
zena-0.16.1 app/views/comments/remove.rjs
zena-0.16.0 app/views/comments/remove.rjs
zena-0.15.2 app/views/comments/remove.rjs
zena-0.15.1 app/views/comments/remove.rjs
zena-0.15.0 app/views/comments/remove.rjs