Sha256: 62abbded2e14831b314e79752d86b985c15a0b062dfc14a1dfa0a0112eda4d0b

Contents?: true

Size: 726 Bytes

Versions: 34

Compression:

Stored size: 726 Bytes

Contents

<thead>
  <tr>
    <%
    columns ||= active_scaffold_config_for(record_class).subform.columns
    columns.each_column(for: record_class, crud_type: :read) do |column|
      next unless column.is_a? ActiveScaffold::DataStructures::Column
      next unless in_subform?(column, parent_record, parent_column)
      hidden = column_renders_as(column) == :hidden
      -%>
      <th class="<%= "#{column.name}-column #{'required' if column.required?} #{'hidden' if hidden}" %>">
        <label><%= subform_label(column, hidden) %></label>
        <% if column.description.present? -%>
          <span class="description"><%= column.description %></span>
        <% end -%>
      </th>
    <% end -%>
    <th></th>
  </tr>
</thead>

Version data entries

34 entries across 34 versions & 1 rubygems

Version Path
active_scaffold-4.0.0 app/views/active_scaffold_overrides/_horizontal_subform_header.html.erb
active_scaffold-4.0.0.rc3 app/views/active_scaffold_overrides/_horizontal_subform_header.html.erb
active_scaffold-3.7.11 app/views/active_scaffold_overrides/_horizontal_subform_header.html.erb
active_scaffold-4.0.0.rc2 app/views/active_scaffold_overrides/_horizontal_subform_header.html.erb
active_scaffold-3.7.10 app/views/active_scaffold_overrides/_horizontal_subform_header.html.erb
active_scaffold-4.0.0.rc1 app/views/active_scaffold_overrides/_horizontal_subform_header.html.erb
active_scaffold-3.7.8 app/views/active_scaffold_overrides/_horizontal_subform_header.html.erb
active_scaffold-3.7.7 app/views/active_scaffold_overrides/_horizontal_subform_header.html.erb
active_scaffold-3.7.6 app/views/active_scaffold_overrides/_horizontal_subform_header.html.erb
active_scaffold-3.7.5 app/views/active_scaffold_overrides/_horizontal_subform_header.html.erb
active_scaffold-3.7.2 app/views/active_scaffold_overrides/_horizontal_subform_header.html.erb
active_scaffold-3.7.1 app/views/active_scaffold_overrides/_horizontal_subform_header.html.erb
active_scaffold-3.7.0 app/views/active_scaffold_overrides/_horizontal_subform_header.html.erb
active_scaffold-3.6.20 app/views/active_scaffold_overrides/_horizontal_subform_header.html.erb
active_scaffold-3.6.19 app/views/active_scaffold_overrides/_horizontal_subform_header.html.erb
active_scaffold-3.6.17 app/views/active_scaffold_overrides/_horizontal_subform_header.html.erb
active_scaffold-3.6.15 app/views/active_scaffold_overrides/_horizontal_subform_header.html.erb
active_scaffold-3.6.14 app/views/active_scaffold_overrides/_horizontal_subform_header.html.erb
active_scaffold-3.6.13 app/views/active_scaffold_overrides/_horizontal_subform_header.html.erb
active_scaffold-3.6.12 app/views/active_scaffold_overrides/_horizontal_subform_header.html.erb