Sha256: 022bdb6d013f937fc993453604a8ea3075b6028b148747194f7993393e882ea1
Contents?: true
Size: 559 Bytes
Versions: 15
Compression:
Stored size: 559 Bytes
Contents
if @errors || !@node.errors.empty? page.replace_html "form_errors", :inline => @errors ? render_errors : error_messages_for(:node, :object => @node) else page << "try {" page.replace_html 'original_caution', :inline=>"" page << "} catch(err) {}" page.replace 'messages', :inline => flash_messages(:page => page) 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
15 entries across 15 versions & 1 rubygems