diff --git a/app/views/domains/#_horizontal_subform_header.html.erb b/app/views/domains/#_horizontal_subform_header.html.erb deleted file mode 100644 index 702fc46..0000000 --- a/app/views/domains/#_horizontal_subform_header.html.erb +++ /dev/null @@ -1,17 +0,0 @@ -<%# diferentiate create/update subform columns %> - - - - <% - readonly = (@record.readonly? or not @record.authorized_for?(:crud_type => :update)) - crud_type = @record.new_record? ? :create : (readonly ? :read : :update) - config = active_scaffold_config_for(record.class) - columns = @record.new_record? ? config.create.columns : config.update.columns - columns.each :for => record.class, :crud_type => crud_type, :flatten => true do |column| - hidden = column_renders_as(column) == :hidden - next unless in_subform?(column, parent_record) - -%> - "> - <% end -%> - - diff --git a/app/views/domains/#_horizontal_subform_record.html.erb b/app/views/domains/#_horizontal_subform_record.html.erb deleted file mode 100644 index 70d4eb2..0000000 --- a/app/views/domains/#_horizontal_subform_record.html.erb +++ /dev/null @@ -1,41 +0,0 @@ -<%# diferentiate create/update subform columns %> - -<% - record_column = column - readonly = (@record.readonly? or not @record.authorized_for?(:crud_type => :update)) - crud_type = @record.new_record? ? :create : (readonly ? :read : :update) - show_actions = false - config = active_scaffold_config_for(@record.class) - options = active_scaffold_input_options(config.columns[@record.class.primary_key], scope) - tr_id = "association-#{options[:id]}" -%> - -<% columns = @record.new_record? ? config.create.columns : config.update.columns %> -<% columns.each :for => @record.class, :crud_type => crud_type, :flatten => true do |column| %> -<% - next unless in_subform?(column, parent_record) - show_actions = true - column = column.clone - column.form_ui ||= :select if column.association --%> -