Module: Pageflow::ActiveAdminPatches::Views::AttributesTable Private
- Defined in:
- lib/pageflow/active_admin_patches/views/attributes_table.rb
This module is part of a private API. You should avoid using this module if possible, as it may be removed or be changed in the future.
Instance Method Summary collapse
Instance Method Details
#boolean_status_tag_row(name, yes_state = :warning) ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
6 7 8 9 10 |
# File 'lib/pageflow/active_admin_patches/views/attributes_table.rb', line 6 def boolean_status_tag_row(name, yes_state = :warning) status_tag_row(name, [I18n.t('active_admin.status_tag.yes'), '-'], [yes_state, nil]) end |