Sha256: f3c3edb57919649e1d4cfc97d9d2e9bcbf91dff5bee2f0ec1caaf16f8f1c7e24

Contents?: true

Size: 980 Bytes

Versions: 6

Compression:

Stored size: 980 Bytes

Contents

<table id="<%= sub_form_list_id(:association => column.name, :id => parent_record.try(:id) || generated_id(parent_record) || 99999999999) %>">
<%
  header_record_class = (show_blank_record && show_blank_record.class) || column.association.klass
-%>
  <%= render :partial => 'horizontal_subform_header', :locals => {:parent_record => parent_record, :record_class => header_record_class, :parent_column => column} %>

  <%= render :partial => 'form_association_record', :collection => associated, :locals => {:scope => scope, :parent_record => parent_record, :column => column} %>
  <%= render :partial => 'form_association_record', :object => show_blank_record, :locals => {:scope => scope, :parent_record => parent_record, :column => column, :locked => true, :index => associated.size} if show_blank_record %>
  <tfoot>
    <%= render :partial => 'horizontal_subform_footer', :locals => {:scope => scope, :parent_record => parent_record, :column => column} %>
  </tfoot>
</table>

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
active_scaffold-3.5.5 app/views/active_scaffold_overrides/_horizontal_subform.html.erb
active_scaffold-3.5.4 app/views/active_scaffold_overrides/_horizontal_subform.html.erb
active_scaffold-3.5.3 app/views/active_scaffold_overrides/_horizontal_subform.html.erb
active_scaffold-3.5.2 app/views/active_scaffold_overrides/_horizontal_subform.html.erb
active_scaffold-3.5.1 app/views/active_scaffold_overrides/_horizontal_subform.html.erb
active_scaffold-3.5.0 app/views/active_scaffold_overrides/_horizontal_subform.html.erb