Sha256: f180cfd6d6bd62addcb65e9db6c0536141f1eda250d985c5ddf112e1c42f1e8c

Contents?: true

Size: 444 Bytes

Versions: 37

Compression:

Stored size: 444 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="<%= "#{'required' if column.required?} #{'hidden' if hidden}" %>"><label><%= column.label unless hidden %></label></th>
    <% end -%>
  </tr>
</thead>

Version data entries

37 entries across 37 versions & 2 rubygems

Version Path
active_scaffold-sequel-0.8.0 frontends/default/views/_horizontal_subform_header.html.erb
active_scaffold-sequel-0.7.1 frontends/default/views/_horizontal_subform_header.html.erb
active_scaffold-sequel-0.7.0 frontends/default/views/_horizontal_subform_header.html.erb
active_scaffold-sequel-0.6.2 frontends/default/views/_horizontal_subform_header.html.erb
active_scaffold-sequel-0.6.1 frontends/default/views/_horizontal_subform_header.html.erb
active_scaffold-sequel-0.6.0 frontends/default/views/_horizontal_subform_header.html.erb
active_scaffold-3.2.12 frontends/default/views/_horizontal_subform_header.html.erb
active_scaffold-3.2.11 frontends/default/views/_horizontal_subform_header.html.erb
active_scaffold-3.2.10 frontends/default/views/_horizontal_subform_header.html.erb
active_scaffold-3.2.9 frontends/default/views/_horizontal_subform_header.html.erb
active_scaffold-3.2.8 frontends/default/views/_horizontal_subform_header.html.erb
active_scaffold-3.2.7 frontends/default/views/_horizontal_subform_header.html.erb
active_scaffold-3.2.6 frontends/default/views/_horizontal_subform_header.html.erb
active_scaffold-3.2.5 frontends/default/views/_horizontal_subform_header.html.erb
active_scaffold-3.2.4 frontends/default/views/_horizontal_subform_header.html.erb
active_scaffold-3.2.3 frontends/default/views/_horizontal_subform_header.html.erb
active_scaffold-sequel-0.5.1 frontends/default/views/_horizontal_subform_header.html.erb
active_scaffold-sequel-0.5.0 frontends/default/views/_horizontal_subform_header.html.erb
active_scaffold-3.2.2 frontends/default/views/_horizontal_subform_header.html.erb
active_scaffold-3.2.1 frontends/default/views/_horizontal_subform_header.html.erb