# Administrate::Field::BooleanEmoji [![Build Status](https://travis-ci.com/zooppa/administrate-field-boolean_emoji.svg?branch=master)](https://travis-ci.com/zooppa/administrate-field-boolean_emoji) [![Code Climate](https://codeclimate.com/github/zooppa/administrate-field-boolean_emoji/badges/gpa.svg)](https://codeclimate.com/github/zooppa/administrate-field-boolean_emoji) A plugin to visually display boolean fields in [Administrate]. ## Usage Add it to your `Gemfile`: ```ruby gem 'administrate-field-boolean_emoji', '~> 0.2.1' ``` Run: ```bash $ bundle install ``` Add to your `FooDashboard`: ```ruby ATTRIBUTE_TYPES = { bar: Field::BooleanEmoji }.freeze ``` ## Customize Customize or overwrite the labels by just adding this to your `config/locales/*.yml`. ```yml administrate: fields: boolean_emoji: 'false': 👎 'true': 👍 ``` ## About `Administrate::Field::BooleanEmoji` is maintained by [zooppa]. See also the list of [contributors](https://github.com/zooppa/administrate-field-boolean_emoji/contributors) who participated in this project. [administrate]: https://github.com/thoughtbot/administrate [zooppa]: https://www.zooppa.com/