Class: SemanticFormFor::FormBuilder
- Inherits:
-
ActionView::Helpers::FormBuilder
- Object
- ActionView::Helpers::FormBuilder
- SemanticFormFor::FormBuilder
- Includes:
- FormHelpers
- Defined in:
- lib/semantic_form_for/form_builder.rb
Constant Summary collapse
- FIELDSETS =
[ :inputs, :buttons ]
- INPUTS =
[ :select, *ActionView::Helpers::FormBuilder.instance_methods.grep(%r{_area$}), *ActionView::Helpers::FormBuilder.instance_methods.grep(%r{_box$}), *ActionView::Helpers::FormBuilder.instance_methods.grep(%r{_button$}), *ActionView::Helpers::FormBuilder.instance_methods.grep(%r{_field$}), *ActionView::Helpers::FormBuilder.instance_methods.grep(%r{_select$}), ]
- BUTTONS =
[ :submit ]
Instance Attribute Summary collapse
-
#object ⇒ Object
readonly
Returns the value of attribute object.
-
#object_name ⇒ Object
readonly
Returns the value of attribute object_name.
-
#template ⇒ Object
readonly
Returns the value of attribute template.
Instance Attribute Details
#object ⇒ Object (readonly)
Returns the value of attribute object.
7 8 9 |
# File 'lib/semantic_form_for/form_builder.rb', line 7 def object @object end |
#object_name ⇒ Object (readonly)
Returns the value of attribute object_name.
8 9 10 |
# File 'lib/semantic_form_for/form_builder.rb', line 8 def object_name @object_name end |
#template ⇒ Object (readonly)
Returns the value of attribute template.
6 7 8 |
# File 'lib/semantic_form_for/form_builder.rb', line 6 def template @template end |