Sha256: 2e9e559bea90ef026c138400e1cb9baef97e228a8faa634d5563246c489d9c29

Contents?: true

Size: 580 Bytes

Versions: 8

Compression:

Stored size: 580 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
%>
ActiveScaffold.replace_html('<%= active_scaffold_content_id%>','<%=escape_javascript(render(:partial => 'list', :layout => false))%>');

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
active_scaffold_batch_vho-3.1.7 frontends/default/views/on_batch_base.js.erb
active_scaffold_batch_vho-3.1.6 frontends/default/views/on_batch_base.js.erb
active_scaffold_batch_vho-3.1.5 frontends/default/views/on_batch_base.js.erb
active_scaffold_batch_vho-3.1.4 frontends/default/views/on_batch_base.js.erb
active_scaffold_batch_vho-3.1.3 frontends/default/views/on_batch_base.js.erb
active_scaffold_batch_vho-3.1.2 frontends/default/views/on_batch_base.js.erb
active_scaffold_batch_vho-3.1.1 frontends/default/views/on_batch_base.js.erb
active_scaffold_batch_vho-3.1.0 frontends/default/views/on_batch_base.js.erb