Module: Components::DatePickerHelper
- Defined in:
- app/helpers/components/date_picker_helper.rb
Instance Method Summary collapse
Instance Method Details
#render_date_picker(name:, id: nil, value: 'Pick a date', **options) ⇒ Object
2 3 4 5 6 7 8 9 |
# File 'app/helpers/components/date_picker_helper.rb', line 2 def render_date_picker(name:, id: nil, value: 'Pick a date', **) render partial: "components/ui/date_picker", locals: { name:, value:, id:, options: } end |