This commit is contained in:
benji 2015-07-01 16:49:27 +02:00
parent 90e270a03e
commit dc73128508

View file

@ -9,7 +9,7 @@
<%= content_tag :span, product.name %>
<%= content_tag :small, euro(product.price) %>
</h4>
<%= f.counter :count, skip_label: true, wrapper_class: "input-group", class: "row_counter" %>
<%= f.counter :count, max: 1000, skip_label: true, wrapper_class: "input-group", class: "row_counter" %>
<%= f.fields_for :product do |product| %>
<%= product.hidden_field :price_cents, class: :price %>
<%= product.hidden_field :stock, class: :stock %>