uses number fields for price inputs

This commit is contained in:
Juanjo Bazán
2016-03-08 11:58:24 +01:00
parent 6e28ae790c
commit d39eb9ba9b

View File

@@ -6,12 +6,12 @@
<div class="row">
<div class="small-12 medium-4 column">
<%= f.label :price, "#{t('valuation.spending_proposals.edit.price')} (#{t('valuation.spending_proposals.edit.currency')})" %>
<%= f.text_field :price, label: false %>
<%= f.number_field :price, label: false %>
</div>
<div class="small-12 medium-4 column end">
<%= f.label :price_first_year, "#{t('valuation.spending_proposals.edit.price_first_year')} ( #{t('valuation.spending_proposals.edit.currency')})" %>
<%= f.text_field :price_first_year, label: false %>
<%= f.number_field :price_first_year, label: false %>
</div>
</div>