Sha256: 85023603f17b92ba48973130cf219705d8052b43142e10ccfb0eb8f3a05e74f2

Contents?: true

Size: 1.22 KB

Versions: 62

Compression:

Stored size: 1.22 KB

Contents

.property
  = label_tag 'range_facets', t('workarea.admin.facets.price_inputs.price_ranges_label'), class: 'property__name'
  %table
    %thead
      %tr
        %th= t('workarea.admin.facets.price_inputs.from')
        %th= t('workarea.admin.facets.price_inputs.to')
    %tbody
      - facet.each_with_index do |range, index|
        %tr
          %td
            = currency_symbol
            = text_field_tag 'range_facets[price][][from]', range['from'], title: t('workarea.admin.facets.price_inputs.from'), class: 'text-box text-box--small', id: "range_facets[price][][from][#{index}]"
          %td
            = currency_symbol
            = text_field_tag 'range_facets[price][][to]', range['to'], title: t('workarea.admin.facets.price_inputs.to'), class: 'text-box text-box--small', id: "range_facets[price][][to][#{index}]"
      %tr{ data: { cloneable_row: '' } }
        %td
          = currency_symbol
          = text_field_tag 'range_facets[price][][from]', nil, title: t('workarea.admin.facets.price_inputs.from'), class: 'text-box text-box--small'
        %td
          = currency_symbol
          = text_field_tag 'range_facets[price][][to]', nil, title: t('workarea.admin.facets.price_inputs.to'), class: 'text-box text-box--small'

Version data entries

62 entries across 62 versions & 1 rubygems

Version Path
workarea-admin-3.5.15 app/views/workarea/admin/facets/_price_inputs.html.haml
workarea-admin-3.4.36 app/views/workarea/admin/facets/_price_inputs.html.haml
workarea-admin-3.5.14 app/views/workarea/admin/facets/_price_inputs.html.haml
workarea-admin-3.4.35 app/views/workarea/admin/facets/_price_inputs.html.haml
workarea-admin-3.5.13 app/views/workarea/admin/facets/_price_inputs.html.haml
workarea-admin-3.4.34 app/views/workarea/admin/facets/_price_inputs.html.haml
workarea-admin-3.5.12 app/views/workarea/admin/facets/_price_inputs.html.haml
workarea-admin-3.4.33 app/views/workarea/admin/facets/_price_inputs.html.haml
workarea-admin-3.5.11 app/views/workarea/admin/facets/_price_inputs.html.haml
workarea-admin-3.5.10 app/views/workarea/admin/facets/_price_inputs.html.haml
workarea-admin-3.4.32 app/views/workarea/admin/facets/_price_inputs.html.haml
workarea-admin-3.5.9 app/views/workarea/admin/facets/_price_inputs.html.haml
workarea-admin-3.4.31 app/views/workarea/admin/facets/_price_inputs.html.haml
workarea-admin-3.5.8 app/views/workarea/admin/facets/_price_inputs.html.haml
workarea-admin-3.4.30 app/views/workarea/admin/facets/_price_inputs.html.haml
workarea-admin-3.5.7 app/views/workarea/admin/facets/_price_inputs.html.haml
workarea-admin-3.4.29 app/views/workarea/admin/facets/_price_inputs.html.haml
workarea-admin-3.5.6 app/views/workarea/admin/facets/_price_inputs.html.haml
workarea-admin-3.4.28 app/views/workarea/admin/facets/_price_inputs.html.haml
workarea-admin-3.5.5 app/views/workarea/admin/facets/_price_inputs.html.haml