Sha256: 305a961826c6fd1ecf008d63f67e32c41501f5643160fe386c1f403b736e8535
Contents?: true
Size: 1.33 KB
Versions: 1
Compression:
Stored size: 1.33 KB
Contents
# 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]. --- ### 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. --- ## Usage Add it to your `Gemfile`: ```ruby gem 'administrate-field-boolean_emoji', '~> 0.3.0' ``` 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/
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
administrate-field-boolean_emoji-0.3.0 | README.md |