Administrate::Field::BooleanEmoji
IMPORTANT NOTICE
This gem is not actively maintained anymore.
If youโre interested in taking over and steward the project moving forward, please get in touch.
A plugin to visually display boolean fields in Administrate.
Usage
Add it to your Gemfile:
gem 'administrate-field-boolean_emoji', '~> 0.3.0'Run:
$ bundle installAdd to your FooDashboard:
ATTRIBUTE_TYPES = {
bar: Field::BooleanEmoji
}.freezeCustomize
Customize or overwrite the labels by just adding this to your config/locales/*.yml.
administrate:
fields:
boolean_emoji:
"false": ๐
"true": ๐About
Administrate::Field::BooleanEmoji is maintained by zooppa.
See also the list of contributors who participated in this project.