Method: Formstrap::FormBuilder#select
- Defined in:
- lib/formstrap/form_builder.rb
#select(attribute, formstrap: true, **options) ⇒ Object
133 134 135 136 137 138 139 |
# File 'lib/formstrap/form_builder.rb', line 133 def select(attribute, formstrap: true, **) if formstrap render_input(:select, attribute, ) else super(attribute, [:choices], [:options], [:html_options]) end end |