Closed megatux closed 11 years ago
Hi, don't know if I'm using it correctly. Here is my code:
ActiveAdmin.register Carousel do form partial: 'form'
= semantic_form_for [:admin, @carousel] do |f| - f.translated_inputs "Translated fields" do |t| t.input :name = f.actions
undefined method `translated_inputs' for #<Formtastic::FormBuilder:0x007fe1eb3e3c10>
You need to use the ActiveAdmin formbuilder:
= semantic_form_for [:admin, @carousel], :builder => ActiveAdmin::FormBuilder do |f|
Thanks @marcusg !
Hi, don't know if I'm using it correctly. Here is my code: