From 7d315282399384dc6981a083e99644d894fa7d14 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Juanjo=20Baz=C3=A1n?= Date: Tue, 8 Mar 2016 20:05:09 +0100 Subject: [PATCH] moves feasibility fields to top --- .../spending_proposals/edit.html.erb | 38 +++++++++---------- 1 file changed, 19 insertions(+), 19 deletions(-) diff --git a/app/views/valuation/spending_proposals/edit.html.erb b/app/views/valuation/spending_proposals/edit.html.erb index cf0b936e2..417147e21 100644 --- a/app/views/valuation/spending_proposals/edit.html.erb +++ b/app/views/valuation/spending_proposals/edit.html.erb @@ -3,25 +3,6 @@ <%= form_for(@spending_proposal, url: valuate_valuation_spending_proposal_path(@spending_proposal)) do |f| %> <%= render 'shared/errors', resource: @spending_proposal %> -
-
- <%= f.label :price, "#{t('valuation.spending_proposals.edit.price')} (#{t('valuation.spending_proposals.edit.currency')})" %> - <%= 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, max: 1000000000000000 %> -
-
- -
-
- <%= f.label :price_explanation, t("valuation.spending_proposals.edit.price_explanation") %> - <%= f.text_area :price_explanation, label: false, rows: 3 %> -
-
-
@@ -50,6 +31,25 @@
+
+
+ <%= f.label :price, "#{t('valuation.spending_proposals.edit.price')} (#{t('valuation.spending_proposals.edit.currency')})" %> + <%= f.number_field :price, label: false, max: 1000000000000000 %> +
+ +
+ <%= f.label :price_first_year, "#{t('valuation.spending_proposals.edit.price_first_year', currency: t('valuation.spending_proposals.edit.currency'))}" %> + <%= f.number_field :price_first_year, label: false, max: 1000000000000000 %> +
+
+ +
+
+ <%= f.label :price_explanation, t("valuation.spending_proposals.edit.price_explanation") %> + <%= f.text_area :price_explanation, label: false, rows: 3 %> +
+
+
<%= f.label :time_scope, t("valuation.spending_proposals.edit.time_scope") %>