Module: Formular::Element::Modules::Checkable

Includes:
Formular::Element::Module, Collection, Label
Included in:
Checkbox, Radio
Defined in:
lib/formular/element/modules/checkable.rb

Overview

this module is used to correctly set the :checked attribute based on the reader value. It also provides an API to assist in generating checkable html (e.g. checkable labels) and create collections of checkable controls from an enumerable variable.

Defined Under Namespace

Modules: InstanceMethods

Constant Summary

Constants included from HtmlEscape

HtmlEscape::HTML_ESCAPE, HtmlEscape::HTML_ESCAPE_ONCE_REGEXP, HtmlEscape::HTML_ESCAPE_REGEXP

Method Summary

Methods included from HtmlEscape

#html_escape, #html_escape_once

Methods included from Formular::Element::Module

included