Active admin uses semantic form and you can change form's behavior. How
to customize the forms you can get here:
http://activeadmin.info/docs/5-forms.html
And semantic form wiki: https://github.com/justinfrench/formtastic
I have got this code:
ActiveAdmin.register Page do
form do |f|
f.inputs "Gallery" do
f.semantic_fields_for :images do |fi|
fi.input :file, :as => :file
end
end
f.buttons
end
end
and he is working for me well
--
Posted via http://www.ruby-forum.com/.
--
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Talk" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en.