Skip to content

Latest commit

 

History

History
29 lines (21 loc) · 442 Bytes

File metadata and controls

29 lines (21 loc) · 442 Bytes

Administrate::Field::SelectEssential

A plugin for Administrate

Usage

Add to your Gemfile:

gem 'administrate-field-select_essential'

Run:

$ bundle install

Add to your FooDashboard:

ATTRIBUTE_TYPES = [
  bars: Field::SelectEssential.with_options(
    choices: %w[One Two Three],
    include_blank: 'Choose An Option',
    multiple: true,
  ),
]