Sha256: 15eba2728e8af6e0e4b8bc7bda9e3336c7253ed0802f36c13ca282fc3c1b082e

Contents?: true

Size: 1.73 KB

Versions: 62

Compression:

Stored size: 1.73 KB

Contents

#datepicker
  .property
    = label_tag 'datepicker_field', 'Datepicker with stored iso8601 value', class: 'property__name'
    = text_field_tag 'datepicker_field', '2016-06-02T05:00:00+00:00', class: 'text-box', data: { datepicker_field: '' }

#inline-datepicker
  .property
    = label_tag 'inline_datepicker_field', 'Datepicker with stored iso8601 value', class: 'property__name'
    = text_field_tag 'inline_datepicker_field', '2016-06-02T05:00:00+00:00', class: 'text-box', data: { datepicker_field: { inline: true } }

#valid-date-datepicker
  .property
    = label_tag 'valid_date_field', 'Datepicker with stored iso8601 value', class: 'property__name'
    = text_field_tag 'valid_date_field', '2016-06-02T05:00:00+00:00', class: 'text-box', id: 'valid_date_field', data: { datepicker_field: '' }

#invalid-date-datepicker
  .property
    = label_tag 'invalid_date_field', 'Datepicker with invalid stored or cached value', class: 'property__name'
    = text_field_tag 'invalid_date_field', 'not a date', class: 'text-box', id: 'invalid_date_field', data: { datepicker_field: '' }

#quick-range-datepicker
  .browsing-controls__filter-dropdown
    .property
      = label_tag 'starts_at', 'Starts At', class: 'property__name'
      = text_field_tag 'starts_at', nil, class: 'text-box', data: { datepicker_field: { inline: true }, datepicker_field_starts_at: '' }
    .property
      = label_tag 'ends_at', 'Ends At', class: 'property__name'
      = text_field_tag 'ends_at', nil, class: 'text-box', data: { datepicker_field: { inline: true }, datepicker_field_ends_at: '' }

    = label_tag 'quick_range', t('workarea.admin.date_selector.or_choose')
    = select_tag 'quick_range', options_for_select([['foo'], ['bar', '1984-07-29'], ['baz', '1999-01-01|2018-02-03']])

Version data entries

62 entries across 62 versions & 1 rubygems

Version Path
workarea-admin-3.5.27 test/javascripts/fixtures/datepicker_fields.html.haml
workarea-admin-3.5.26 test/javascripts/fixtures/datepicker_fields.html.haml
workarea-admin-3.4.45 test/javascripts/fixtures/datepicker_fields.html.haml
workarea-admin-3.5.25 test/javascripts/fixtures/datepicker_fields.html.haml
workarea-admin-3.5.23 test/javascripts/fixtures/datepicker_fields.html.haml
workarea-admin-3.4.44 test/javascripts/fixtures/datepicker_fields.html.haml
workarea-admin-3.5.22 test/javascripts/fixtures/datepicker_fields.html.haml
workarea-admin-3.4.43 test/javascripts/fixtures/datepicker_fields.html.haml
workarea-admin-3.5.21 test/javascripts/fixtures/datepicker_fields.html.haml
workarea-admin-3.4.42 test/javascripts/fixtures/datepicker_fields.html.haml
workarea-admin-3.5.20 test/javascripts/fixtures/datepicker_fields.html.haml
workarea-admin-3.4.41 test/javascripts/fixtures/datepicker_fields.html.haml
workarea-admin-3.5.19 test/javascripts/fixtures/datepicker_fields.html.haml
workarea-admin-3.4.40 test/javascripts/fixtures/datepicker_fields.html.haml
workarea-admin-3.5.18 test/javascripts/fixtures/datepicker_fields.html.haml
workarea-admin-3.4.39 test/javascripts/fixtures/datepicker_fields.html.haml
workarea-admin-3.5.17 test/javascripts/fixtures/datepicker_fields.html.haml
workarea-admin-3.4.38 test/javascripts/fixtures/datepicker_fields.html.haml
workarea-admin-3.5.16 test/javascripts/fixtures/datepicker_fields.html.haml
workarea-admin-3.4.37 test/javascripts/fixtures/datepicker_fields.html.haml