I'd like to have my numbers right aligned and with a thousands separator. Can someone point me in the right direction?
ActiveAdmin.register Thing do
  index do
    column :id
    column :amount  #  need to make this fomatted nicely
    default_actions
 end
end
                You can pass a block to the column.
column :amount do |thing|
  div :class => "amount" do
    number_to_currency thing.amount
  end
end 
css
.amount {
  text-align :right;
}
This railscast goes through some pretty good info too http://railscasts.com/episodes/284-active-admin?view=asciicast
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With