Repository is archived
Low commit activity in last 3 years
No release in over a year
A plugin to visually display boolean fields in Administrate
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 13.0
~> 3.7

Runtime

~> 2.0, >= 2.0.8
>= 4.2, < 8
 Project Readme

Administrate::Field::BooleanEmoji

No Maintenance Intended Build status Code Climate


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 install

Add to your FooDashboard:

ATTRIBUTE_TYPES = {
  bar: Field::BooleanEmoji
}.freeze

Customize

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.