Sha256: 128345ad23e9dbf56f714668d58972e207a80b02c752ab3beb0e3172ed373a7b

Contents?: true

Size: 483 Bytes

Versions: 3

Compression:

Stored size: 483 Bytes

Contents

<% html = ''.html_safe -%>
<% @records.each do |scope, @record| -%>
<% html << render(:partial => "#{batch_create_multiple_layout}_record", :locals => { :columns => active_scaffold_config.batch_create.columns, :form_action => :batch_create, :scope => "[#{scope}]", :first => false }) %>
<% end %>
ActiveScaffold.create_associated_record_form('<%= element_form_id(:action => :batch_create) %>-content','<%= escape_javascript(html) %>', <%= {:singular => false}.to_json.html_safe %>);

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
active_scaffold_batch-3.2.2 app/views/active_scaffold_overrides/batch_add.js.erb
active_scaffold_batch-3.2.1 app/views/active_scaffold_overrides/batch_add.js.erb
active_scaffold_batch-3.2.0 app/views/active_scaffold_overrides/batch_add.js.erb