Sha256: 0c0efc9be7d476735d4ebfd0792ca992af5b971be7c9c8b77b0c7aff2777adaa

Contents?: true

Size: 1.04 KB

Versions: 1

Compression:

Stored size: 1.04 KB

Contents

<div data-hook='admin_sale_price_form_fields' class='row'>
  <div class='alpha four columns'>
    <div class='field'>
      <%= f.field_container :value do %>
        <%= f.label :value, Spree.t(:value) %><br />
        <%= f.text_field :value, class: 'fullwidth' %>
        <%= f.error_message_on :value %>
      <% end %>
    </div>
  </div>

  <div class='alpha four columns'>
    <div class='field'>
      <%= f.field_container :start_at do %>
        <%= f.label :start_at, Spree.t(:start_at) %><br />
        <%= f.text_field :start_at, value: datepicker_field_value(@sale_price.start_at), class: 'datepicker fullwidth' %>
        <%= f.error_message_on :start_at %>
      <% end %>
    </div>
  </div>

  <div class='alpha four columns'>
    <div class='field'>
      <%= f.field_container :end_at do %>
        <%= f.label :end_at, Spree.t(:end_at) %><br />
        <%= f.text_field :end_at, value: datepicker_field_value(@sale_price.end_at), class: 'datepicker fullwidth' %>
        <%= f.error_message_on :end_at %>
      <% end %>
    </div>
  </div>
</div>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
solidus_sale_pricing-2.0.1 app/views/spree/admin/sale_prices/_form.html.erb