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.4.13 app/views/workarea/admin/facets/_price_inputs.html.haml
workarea-admin-3.4.12 app/views/workarea/admin/facets/_price_inputs.html.haml