How to create custom label for formtastic's has_many method? I have following code:
f.has_many :products_terms, label: 'Categories' do |ctg|
ctg.input :category
ctg.input :order_num
end
But the :label option does not work as it does with f.input method.
Thank you in advance.
First, f.has_many
is a feature of Active Admin, not Formtastic. As of 0.6.1 Active Admin has had the :heading
option that does what you want.