Class: UI::DialogFooter
- Inherits:
-
Phlex::HTML
- Object
- Phlex::HTML
- UI::DialogFooter
- Includes:
- DialogFooterBehavior
- Defined in:
- app/components/ui/dialog_footer.rb
Instance Method Summary collapse
-
#initialize(classes: nil) ⇒ DialogFooter
constructor
A new instance of DialogFooter.
- #view_template(&block) ⇒ Object
Methods included from DialogFooterBehavior
#dialog_footer_base_classes, #dialog_footer_classes, #dialog_footer_html_attributes
Constructor Details
#initialize(classes: nil) ⇒ DialogFooter
Returns a new instance of DialogFooter.
6 7 8 |
# File 'app/components/ui/dialog_footer.rb', line 6 def initialize(classes: nil) @classes = classes end |
Instance Method Details
#view_template(&block) ⇒ Object
10 11 12 13 14 |
# File 'app/components/ui/dialog_footer.rb', line 10 def view_template(&block) div(**) do yield if block_given? end end |