Class: MaptasticForm::SemanticFormBuilder
- Inherits:
-
Formtastic::SemanticFormBuilder
- Object
- Formtastic::SemanticFormBuilder
- MaptasticForm::SemanticFormBuilder
- Defined in:
- lib/maptastic-form/semantic_form_builder.rb
Instance Method Summary collapse
Instance Method Details
#multi_input(*args) ⇒ Object
4 5 6 7 8 9 10 11 12 |
# File 'lib/maptastic-form/semantic_form_builder.rb', line 4 def multi_input(*args) = args. if ([:as] == :map) map_input(args, ) else args.inject('') {|html, arg| html << input(arg, )} end end |