Sha256: f1a7ce0f2024a389b60f019d41ab2386b5d08d1c6fadc92b1694f4b10e0f667e

Contents?: true

Size: 861 Bytes

Versions: 20

Compression:

Stored size: 861 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}" %>">
    <%= active_scaffold_error_messages_for :record, :object_name => @record.class.model_name.human.downcase %>
  </div>
  <% end %>
  <%= render :partial => 'vertical_subform_record', :locals => {:scope => column_scope(column), :parent_record => parent_record, :column => column, :locked => show_blank_record && @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

20 entries across 20 versions & 1 rubygems

Version Path
active_scaffold-3.1.20 frontends/default/views/_vertical_subform.html.erb~
active_scaffold-3.1.19 frontends/default/views/_vertical_subform.html.erb~
active_scaffold-3.1.18 frontends/default/views/_vertical_subform.html.erb~
active_scaffold-3.1.17 frontends/default/views/_vertical_subform.html.erb~
active_scaffold-3.1.15 frontends/default/views/_vertical_subform.html.erb~
active_scaffold-3.1.14 frontends/default/views/_vertical_subform.html.erb~
active_scaffold-3.0.26 frontends/default/views/_vertical_subform.html.erb~
active_scaffold-3.1.13 frontends/default/views/_vertical_subform.html.erb~
active_scaffold-3.1.12 frontends/default/views/_vertical_subform.html.erb~
active_scaffold-3.0.25 frontends/default/views/_vertical_subform.html.erb~
active_scaffold-3.1.11 frontends/default/views/_vertical_subform.html.erb~
active_scaffold-3.1.10 frontends/default/views/_vertical_subform.html.erb~
active_scaffold-3.1.9 frontends/default/views/_vertical_subform.html.erb~
active_scaffold-3.1.8 frontends/default/views/_vertical_subform.html.erb~
active_scaffold-3.1.7 frontends/default/views/_vertical_subform.html.erb~
active_scaffold-3.1.6 frontends/default/views/_vertical_subform.html.erb~
active_scaffold-3.1.5 frontends/default/views/_vertical_subform.html.erb~
active_scaffold-3.0.24 frontends/default/views/_vertical_subform.html.erb~
active_scaffold-3.1.4 frontends/default/views/_vertical_subform.html.erb~
active_scaffold-3.1.3 frontends/default/views/_vertical_subform.html.erb~