From a37e6afa7de8d96cd586f3ca0e71044073e21be7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Juanjo=20Baz=C3=A1n?= Date: Tue, 8 Mar 2016 19:46:46 +0100 Subject: [PATCH] sets max limit for price form fields --- app/views/valuation/spending_proposals/edit.html.erb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/views/valuation/spending_proposals/edit.html.erb b/app/views/valuation/spending_proposals/edit.html.erb index a3dba0b4b..cf0b936e2 100644 --- a/app/views/valuation/spending_proposals/edit.html.erb +++ b/app/views/valuation/spending_proposals/edit.html.erb @@ -6,12 +6,12 @@
<%= f.label :price, "#{t('valuation.spending_proposals.edit.price')} (#{t('valuation.spending_proposals.edit.currency')})" %> - <%= f.number_field :price, label: false %> + <%= f.number_field :price, label: false, max: 1000000000000000 %>
<%= f.label :price_first_year, "#{t('valuation.spending_proposals.edit.price_first_year')} ( #{t('valuation.spending_proposals.edit.currency')})" %> - <%= f.number_field :price_first_year, label: false %> + <%= f.number_field :price_first_year, label: false, max: 1000000000000000 %>