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,

Active admin uses semantic form and you can change form's behavior. How
to customize the forms you can get here:
And semantic form wiki:
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

and he is working for me well