Method: Formtastic::Inputs::CheckBoxesInput#hidden_field_for_all
- Defined in:
- lib/formtastic/inputs/check_boxes_input.rb
#hidden_field_for_all ⇒ Object
111 112 113 114 115 116 117 118 119 120 |
# File 'lib/formtastic/inputs/check_boxes_input.rb', line 111 def hidden_field_for_all if hidden_fields? "" else = {} [:class] = [method.to_s.singularize, 'default'].join('_') if value_as_class? [:id] = [object_name, method, 'none'].join('_') template.hidden_field_tag(input_name, '', ) end end |