Method: Formstrap::FormBuilder#date
- Defined in:
- lib/formstrap/form_builder.rb
#date(attribute, formstrap: true, **options) ⇒ Object
41 42 43 44 45 46 47 |
# File 'lib/formstrap/form_builder.rb', line 41 def date(attribute, formstrap: true, **) if formstrap render_input :date, attribute, else date_field attribute, end end |