Sha256: 91e7838d21bfd6bdf6291d86670abd9c3db7f4c3ed21f174c396588a27e60d48

Contents?: true

Size: 436 Bytes

Versions: 1

Compression:

Stored size: 436 Bytes

Contents

- value = value.strftime('%H:%M:%S') if value.kind_of?(Time)
- a = {name: column.name?, type: "text", value: value, "data-format" => "hh:mm:ss"}
.input-append.date id=column.name?
  input.input-small *a *attrs(column, :editor)
  span.add-on
    i data-time-icon="icon-time" data-date-icon="icon-calendar" class=column.css_class
- if column.name?
  javascript:
    $(function() {$('##{column.name}').datetimepicker({pickDate: false})});

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
rear-0.2.0 lib/rear/templates/editor/time.slim