Sha256: c1fdb890d3ae1d7304246ac8d902bfef7d8efbd06b077e680b3d2973e2a52118

Contents?: true

Size: 622 Bytes

Versions: 2

Compression:

Stored size: 622 Bytes

Contents

.field.type_date{ 'data-name' => name }
  .label_wrap><
    = f.label name, name.to_s.humanize + ':'
    .description= I18n.t("field.Format %{_format}", :default => "Format: %{_format}", :_format => I18n.t("format.input.date", :default => 'yyyy-mm-dd'))
  -# FIXME
  -# .value><= f.text_field name, l(f.object.send(name), :format => :date_picker), :class => 'date_picker', :data => {:date_format => I18n.t("format.jquery.datepicker.date", :default => 'yy-mm-dd') }
  .value><= f.text_field name, :class => 'date_picker', :data => {:date_format => I18n.t("format.jquery.datepicker.date", :default => 'yy-mm-dd') }
  .clear

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
releaf-0.1.2 app/views/releaf/base/_edit.field_type_date.html.haml
releaf-0.1.1 app/views/releaf/base/_edit.field.type_date.haml