Sha256: 61c8af191863147f7315376105a1677e84f7f913e318571c2e43d7e0c7cf7d19

Contents?: true

Size: 817 Bytes

Versions: 96

Compression:

Stored size: 817 Bytes

Contents

<div id="<%= sub_form_list_id(:association => column.name) %>">
  <% associated.each_index do |index| %>
  <% @record = associated[index] -%>
  <% if @record.errors.count -%>
  <div class="association-record-errors" id="<%= element_messages_id :action => @record.class.name.underscore, :id => "#{parent_record.id}-#{index}" %>">
    <%= error_messages_for :record, :object_name => @record.class.human_name.downcase %>
  </div>
  <% end %>
  <%= render :partial => 'vertical_subform_record', :locals => {:scope => column_scope(column), :parent_record => parent_record, :column => column, :locked => @record.new_record? && @record == associated.last} %>
  <% end -%>
</div>
<%= render :partial => 'form_association_footer', :locals => {:parent_record => parent_record, :column => column, :associated => associated} -%>

Version data entries

96 entries across 96 versions & 1 rubygems

Version Path
six-updater-web-0.14.1 lib/six-updater-web/vendor/plugins/active_scaffold/frontends/default/views/_vertical_subform.html.erb
six-updater-web-0.13.6 lib/six-updater-web/vendor/plugins/active_scaffold/frontends/default/views/_vertical_subform.html.erb
six-updater-web-0.13.5 lib/vendor/plugins/active_scaffold/frontends/default/views/_vertical_subform.html.erb
six-updater-web-0.13.4 lib/vendor/plugins/active_scaffold/frontends/default/views/_vertical_subform.html.erb
six-updater-web-0.13.3 lib/vendor/plugins/active_scaffold/frontends/default/views/_vertical_subform.html.erb
six-updater-web-0.13.2 lib/vendor/plugins/active_scaffold/frontends/default/views/_vertical_subform.html.erb
six-updater-web-0.13.1 lib/vendor/plugins/active_scaffold/frontends/default/views/_vertical_subform.html.erb
six-updater-web-0.12.7 lib/vendor/plugins/active_scaffold/frontends/default/views/_vertical_subform.html.erb
six-updater-web-0.12.6 lib/vendor/plugins/active_scaffold/frontends/default/views/_vertical_subform.html.erb
six-updater-web-0.12.5 lib/vendor/plugins/active_scaffold/frontends/default/views/_vertical_subform.html.erb
six-updater-web-0.12.4 lib/vendor/plugins/active_scaffold/frontends/default/views/_vertical_subform.html.erb
six-updater-web-0.12.3 lib/vendor/plugins/active_scaffold/frontends/default/views/_vertical_subform.html.erb
six-updater-web-0.12.2 lib/vendor/plugins/active_scaffold/frontends/default/views/_vertical_subform.html.erb
six-updater-web-0.12.1 lib/vendor/plugins/active_scaffold/frontends/default/views/_vertical_subform.html.erb
six-updater-web-0.11.2 lib/vendor/plugins/active_scaffold/frontends/default/views/_vertical_subform.html.erb
six-updater-web-0.11.1 lib/vendor/plugins/active_scaffold/frontends/default/views/_vertical_subform.html.erb