app/helpers/edgarj/form_drawer.rb in edgarj-4.02.00 vs app/helpers/edgarj/form_drawer.rb in edgarj-4.03.00
- old
+ new
@@ -79,11 +79,11 @@
end
end
def columns
drawer = @vc.drawer
- drawer.columns_for(drawer.form_columns)
+ drawer.columns_for(drawer.form_columns, :form)
end
# base method for derived class
def edgarj_address?(col)
@record.class.edgarj_address?(col)
@@ -213,10 +213,10 @@
end
# overwrite
def columns
drawer = @vc.drawer
- drawer.columns_for(drawer.search_form_columns)
+ drawer.columns_for(drawer.search_form_columns, :search_form)
end
# overwrite
def edgarj_address?(col)
@record._klass_str.constantize.edgarj_address?(col)