Sha256: af5093a2f49fc3d2a6b976b21448b2a4e3996b7a7921620aa58108833176786b
Contents?: true
Size: 526 Bytes
Versions: 13
Compression:
Stored size: 526 Bytes
Contents
if @errors || !@node.errors.empty? page.replace_html "form_errors", :inline => @errors ? render_errors : error_messages_for(@node) else page << "try {" page.replace_html 'original_caution', :inline=>"" page << "} catch(err) {}" page.replace 'messages', :inline => flash_messages page['node_v_id'].value = @node.v_id if flash[:notice] flash[:notice] = nil page.visual_effect :fade, 'notice', :duration => 5.0 else flash[:error] = nil page.visual_effect :fade, 'error', :duration => 5.0 end end
Version data entries
13 entries across 13 versions & 1 rubygems