AdministrateFieldEnum
A plugin to show enum attributes in [Administrate].
Installation
Add this line to your application's Gemfile:
gem 'administrate-field-enum'
And then execute:
$ bundle install
Usage
In your Dashboard ATTRIBUTE_TYPES
use the field type Field::Enum
. i.e.
ATTRIBUTE_TYPES = {
category: Field::Enum
}
Contributing
Bug reports and pull requests are welcome on GitHub at https://github.com/DisruptiveAngels/administrate-field-enum.