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