Hi, I’d like to upload images and videos with carrierwave at the active admin interface.
Just to make it clear, the admin will change images and video at the website using active admin.
if anyone knows how to do this please help me.
Thank you,
Rodrigo
11155
(-- --)
November 16, 2011, 11:59pm
2
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