From 14b62601f6c7739f139bb5afd48e3e593bd444b1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mar=C3=ADa=20Checa?= Date: Mon, 15 Jan 2018 23:19:49 +0100 Subject: [PATCH] Added alerts data --- app/views/valuation/budget_investments/edit.html.erb | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/app/views/valuation/budget_investments/edit.html.erb b/app/views/valuation/budget_investments/edit.html.erb index 4ecd8748e..7c1d51239 100644 --- a/app/views/valuation/budget_investments/edit.html.erb +++ b/app/views/valuation/budget_investments/edit.html.erb @@ -79,7 +79,11 @@
<%= f.label :valuation_finished do %> - <%= f.check_box :valuation_finished, title: t('valuation.budget_investments.edit.valuation_finished'), label: false %> + <%= f.check_box :valuation_finished, + title: t('valuation.budget_investments.edit.valuation_finished'), + label: false, id: 'js-investment-report-alert', + "data-alert": t("valuation.budget_investments.edit.valuation_finished_alert"), + "data-not-feasible-alert": t("valuation.budget_investments.edit.not_feasible_alert") %> <%= t("valuation.budget_investments.edit.valuation_finished") %> <% end %>