ActiveAdmin jQuery Inputmask
Easily add jquery inputmask to your ActiveAdmin.
For more usage info, please take a look at active_admin-jquery_inputmask
Installation
1. Include to your Gemfile
gem 'active_admin-jquery_inputmask'
2. Require javascript dependency
//= require active_admin/inputmask
3. Load locale or other inputmask file as you want
//= require active_admin/inputmask/locales/pt-BR
//= require inputmask/phone-codes/phone-us
p.s. it auto adds jquery as a dependency in your project
Usage
f.input :created_at, mask: 'datetime'
f.input :date, mask: { alias: 'datetime', inputformat: 'dd/mm/yyyy' }