Class: Matestack::Ui::Bootstrap::Form::Checkbox
- Inherits:
-
Core::Form::Checkbox::Base
- Object
- Core::Form::Checkbox::Base
- Matestack::Ui::Bootstrap::Form::Checkbox
- Defined in:
- app/concepts/matestack/ui/bootstrap/form/checkbox.rb
Direct Known Subclasses
Instance Method Summary collapse
Instance Method Details
#response ⇒ Object
9 10 11 12 13 14 15 16 |
# File 'app/concepts/matestack/ui/bootstrap/form/checkbox.rb', line 9 def response div class: "matestack-ui-bootstrap-form-checkbox" do label class: "form-label", text: input_label, for: attr_key if input_label && multiple? render_errors render_form_text unless form_text.nil? # otherwise renders empty div end end |