Module: Card::Set::All::Calendar::HtmlFormat

Extended by:
Card::Set::AbstractFormat
Defined in:
platypus/tmp/set/gem-defaults/mod026-date/all/calendar.rb

Overview

basket[:script_calls][“setDatepickerConfig”] = :datepicker_config

Instance Method Summary collapse

Instance Method Details

#calendar_inputObject

def datepicker_config Card::Rule.global_setting :datepicker end



16
17
18
19
20
21
# File 'platypus/tmp/set/gem-defaults/mod026-date/all/calendar.rb', line 16

def calendar_input
  text_field :content, class: "date-editor", # " datetimepicker-input",
                       type: "date"
  # "data-bs-toggle": "datetimepicker",
  # "data-bs-target": "##{form_prefix}_content.date-editor"
end