How to use carrierwave with active admin?

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

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 it is working for me well

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs