Set of addons to improve the activeadmin ui and make it as awesome as we can.
Table of Contents
Add this line to your application's Gemfile:
gem 'activeadmin_addons'And then execute:
$ bundleThe first line in app/assets/stylesheets/active_admin.css.scss should be:
//= require activeadmin_addons/all
In app/assets/javascripts/active_admin.js.coffee add this line after #= require active_admin/base
#= require activeadmin_addons/allInstalling this gem...
- The default date input will be
:datepickerinstead of:date_select - Add better integration with enumerize on filters and selects
To filter based on a range of values you can use range_select like this:
filter :barks_count, as: :range_selectModifies how boolean values are displayed in attributes_table control (the one used in show view)
| key | value |
|---|---|
| paid | ✗ |
| subscribed | ✔ |
Modifies how boolean values are displayed in index view
| id | name | paid | subscribed |
|---|---|---|---|
| 123 | Felipe | ✗ | ✔ |
With select2 the select control looks nicer, it works great with large collections and multiple selection.
Using tags input, you can add tags using select2.
Using search_select input, you can easly add ajax search to activeadmin
Displays a paperclip image into index and show views.
Displays a paperclip link with attachment related icon into index and show views.
You can show aasm values as active admin tags.
You can show Rails' built in enums or enumerize values as active admin tags.
You can show numbers with format supported by Rails NumberHelper
You can show Array or Hash values as html lists.
- Fork it
- Create your feature branch (
git checkout -b my-new-feature) - Commit your changes (
git commit -am 'Add some feature') - Push to the branch (
git push origin my-new-feature) - Create new Pull Request
Thank you contributors!
activeadmin_addons is maintained by platanus.
ActiveAdminAddons is © 2015 Platanus, spa. It is free software and may be redistributed under the terms specified in the LICENSE file.









