Sha256: 8e03c4239ed0287eafc7c79f6594839b09308061bdd313e05006e88f96d9a6b1

Contents?: true

Size: 700 Bytes

Versions: 6

Compression:

Stored size: 700 Bytes

Contents

<thead>
  <tr>
    <%
    active_scaffold_config_for(record_class).subform.columns.each :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

6 entries across 6 versions & 1 rubygems

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