Class: Skyline::Editors::Boolean
- Inherits:
-
Editor
- Object
- Editor
- Skyline::Editors::Boolean
- Defined in:
- app/helpers/skyline/editors/boolean.rb
Instance Method Summary collapse
Instance Method Details
#output_without_errors ⇒ Object
2 3 4 5 |
# File 'app/helpers/skyline/editors/boolean.rb', line 2 def output_without_errors check_box_tag(input_name(self.attribute_names), "1" , field.value(record)) + hidden_field_tag(input_name(self.attribute_names), "0") + " " + field.singular_label end |