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