Nicolae Claudius
13 years ago
1 changed files with 0 additions and 13 deletions
@ -1,13 +0,0 @@
|
||||
<%# use correct ACL https://github.com/activescaffold/active_scaffold/pull/72 %> |
||||
|
||||
<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> |
Loading…
Reference in new issue