diff options
Diffstat (limited to 'app/views/bazaar')
-rw-r--r-- | app/views/bazaar/index.html.erb | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/app/views/bazaar/index.html.erb b/app/views/bazaar/index.html.erb index 63d708f..2ee433c 100644 --- a/app/views/bazaar/index.html.erb +++ b/app/views/bazaar/index.html.erb @@ -19,11 +19,11 @@ </div> <div> <%= f.label :quantity, "Quantity" %> - <%= f.number_field :quantity, required: true, min: 1, max: 2_000_000_000 %> + <%= f.number_field :quantity, required: true, size: 12, min: 1, max: 2_000_000_000 %> </div> <div> <%= f.label :price_each, "Price Each" %> - <%= f.number_field :price_each, required: true, min: 1, max: 2_000_000_000 %> + <%= f.number_field :price_each, required: true, size: 12, min: 1, max: 2_000_000_000 %> </div> <div> <%= f.label :buy_order, "Post as buy order" %> @@ -85,7 +85,7 @@ <td class="table-cell-padded"><%= bo.price_each %></td> <td class="table-cell-padded"> <%= form_with url: bazzar_accept_offer_path(id: bo.id) do |f| %> - <%= f.number_field :quantity, value: 1, min: 1, max: 2_000_000_000, required: true %> + <%= f.number_field :quantity, value: 1, size: 8, min: 1, max: 2_000_000_000, required: true %> <%= f.submit "Buy" %> <% end %> </td> @@ -117,7 +117,7 @@ <td class="table-cell-padded"><%= bo.price_each %></td> <td class="table-cell-padded"> <%= form_with url: bazzar_accept_offer_path(id: bo.id) do |f| %> - <%= f.number_field :quantity, value: 1, min: 1, max: 2_000_000_000, required: true %> + <%= f.number_field :quantity, value: 1, size: 8, min: 1, max: 2_000_000_000, required: true %> <%= f.submit "Sell" %> <% end %> </td> |