Sha256: 6eae11ecde3ff62c2293deada57ff2058f741afad1c9f5384a936be349044cf8

Contents?: true

Size: 400 Bytes

Versions: 1

Compression:

Stored size: 400 Bytes

Contents

- attrs[:class] ||= 'input-medium search-query'
- attrs[:placeholder] ||= (setup[:label] unless value)
- id = 'filters-%s-%s' % [name.hash, self.__id__]
.input-append.date id=id
  input name=name value=value type="text" data-format="yyyy-MM-dd hh:mm:ss" *attrs
  span.add-on
    i data-time-icon="icon-time" data-date-icon="icon-calendar"

javascript:
  $(function() {$('##{id}').datetimepicker()});

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
rear-0.2.0 lib/rear/templates/filters/datetime.slim