Sha256: 9afa687b9c4885c964aedf1615f165c6e391b423e3a56e951e0ccbac97980aec

Contents?: true

Size: 453 Bytes

Versions: 11

Compression:

Stored size: 453 Bytes

Contents

basket[:list_input_options] << "calendar"
# basket[:script_calls]["setDatepickerConfig"] = :datepicker_config

format :html do
  # def datepicker_config
  #   Card::Rule.global_setting :datepicker
  # end

  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
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
card-mod-date-0.18.1 set/all/calendar.rb
card-mod-date-0.18.0 set/all/calendar.rb
card-mod-date-0.17.0 set/all/calendar.rb
card-mod-date-0.16.0 set/all/calendar.rb
card-mod-date-0.15.6 set/all/calendar.rb
card-mod-date-0.15.5 set/all/calendar.rb
card-mod-date-0.15.4 set/all/calendar.rb
card-mod-date-0.15.3 set/all/calendar.rb
card-mod-date-0.15.2.pre1 set/all/calendar.rb
card-mod-date-0.15.1.1 set/all/calendar.rb
card-mod-date-0.15.1 set/all/calendar.rb