Sha256: 20d18914ddae2865a653c230af064cfaa45517fa56404ffa7d207b985b3418f6

Contents?: true

Size: 552 Bytes

Versions: 6

Compression:

Stored size: 552 Bytes

Contents

unless @error_records.empty?
  flash[:error] = @error_records.collect do |record|
    active_scaffold_error_messages_for(record, :object_name => "#{record.class.model_name.human.downcase}#{record.new_record? ? '' : ": #{record.to_label}"}", :header_message => '', :message => "#{record.class.model_name.human.downcase}#{record.new_record? ? '' : ": #{record.to_label}"}", :container_tag => nil, :list_type => :br)
  end.join.html_safe
end
page.call 'ActiveScaffold.replace_html', active_scaffold_content_id, render(:partial => 'list', :layout => false)

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
active_scaffold_batch_vho-3.0.6 frontends/default/views/on_batch_base.js.rjs
active_scaffold_batch_vho-3.0.5 frontends/default/views/on_batch_base.js.rjs
active_scaffold_batch_vho-3.0.4 frontends/default/views/on_batch_base.js.rjs
active_scaffold_batch_vho-3.0.3 frontends/default/views/on_batch_base.js.rjs
active_scaffold_batch_vho-3.0.1 frontends/default/views/on_batch_base.js.rjs
active_scaffold_batch_vho-3.0.0 frontends/default/views/on_batch_base.js.rjs