Class: Pageflow::Admin::MembershipRoleWithTooltip Private
- Inherits:
-
ViewComponent
- Object
- Arbre::Component
- ViewComponent
- Pageflow::Admin::MembershipRoleWithTooltip
- Defined in:
- app/views/components/pageflow/admin/membership_role_with_tooltip.rb
Overview
This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.
Instance Method Summary collapse
Instance Method Details
#build(role, options = {}) ⇒ 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.
7 8 9 10 11 12 13 |
# File 'app/views/components/pageflow/admin/membership_role_with_tooltip.rb', line 7 def build(role, = {}) span t(role, scope: 'activerecord.values.pageflow/membership.role'), class: "membership_role #{role} tooltip_clue" do div t(role, scope: tooltip_scope()), class: 'tooltip_bubble' end end |