Sha256: d10e551a47b6ea39ae67b2b5650d658ae196ebf6fb518a4e24ef77272bee1df1

Contents?: true

Size: 1.42 KB

Versions: 4

Compression:

Stored size: 1.42 KB

Contents

.span ng-init="value = value || {}"
  .col-lg-3.col-md-3.col-sm-5
    .input-group.input-group-sm
      input.btn.btn-default [
        ng-init="info = action.meta.info[f]"
        type="text"
        class="form-control"
        ng-model="value.from"
        ng-disabled="info.disabled"

        data-date-format="{{::info.render.format}}"
        data-max-date="{{value.to}}"
        data-animation="{{::info.render.animation}}"
        bs-datepicker=""
        e2-datepicker="from"
        e2-model-format="{{::info.render.model_format}}"
        data-autoclose="1"

        e2-field=""
      ]
      .input-group-btn data-toggle="datepicker"
        a.btn.btn-default: span.glyphicon.glyphicon-calendar

  .col-lg-3.col-md-3.col-sm-5
    .input-group.input-group-sm
      input.btn.btn-default [
        ng-init="other_date = action.meta.info[f].render.other_date; info = action.meta.info[other_date]"
        type="text"
        class="form-control"
        ng-model="value.to"
        ng-disabled="info.disabled"

        data-date-format="{{::info.render.format}}"
        data-min-date="{{value.from}}"
        data-animation="{{::info.render.animation}}"
        bs-datepicker=""
        e2-datepicker="to"
        e2-model-format="{{::info.render.model_format}}"
        data-autoclose="1"

        e2-field="{{other_date}}"
      ]
      .input-group-btn data-toggle="datepicker"
        a.btn.btn-default: span.glyphicon.glyphicon-calendar

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
engine2-1.0.3 views/fields/date_range.slim
engine2-1.0.2 views/fields/date_range.slim
engine2-1.0.1 views/fields/date_range.slim
engine2-1.0.0 views/fields/date_range.slim