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