Sha256: e6a6c6dc1bf6833c03304462dd9eafe9ac7b92b30d7420451e38a1b851b50993

Contents?: true

Size: 466 Bytes

Versions: 7

Compression:

Stored size: 466 Bytes

Contents

<thead>
  <tr>
    <%
    active_scaffold_config_for(record.class).subform.columns.each :for => record.class, :crud_type => :read, :flatten => true do |column|
      hidden = column_renders_as(column) == :hidden
      next unless in_subform?(column, parent_record)
      -%>
      <th class="<%= "#{column.name}-column #{'required' if column.required?} #{'hidden' if hidden}" %>"><label><%= column.label unless hidden %></label></th>
    <% end -%>
  </tr>
</thead>

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
active_scaffold-3.2.20 frontends/default/views/_horizontal_subform_header.html.erb
active_scaffold-3.2.19 frontends/default/views/_horizontal_subform_header.html.erb
active_scaffold-3.2.17 frontends/default/views/_horizontal_subform_header.html.erb
active_scaffold-3.2.16 frontends/default/views/_horizontal_subform_header.html.erb
active_scaffold-3.2.15 frontends/default/views/_horizontal_subform_header.html.erb
active_scaffold-3.2.14 frontends/default/views/_horizontal_subform_header.html.erb
active_scaffold-3.2.13 frontends/default/views/_horizontal_subform_header.html.erb