Commit c9b158c7eed1be7e0dfa311d4dce4b861b4a64a5
1 parent
c684331b
Exists in
master
and in
49 other branches
Fix mask to format field in correct id
Signed-off-by: Gabriel Silva <gabriel93.silva@gmail.com>
Showing
1 changed file
with
4 additions
and
2 deletions
Show diff stats
src/noosfero-spb/software_communities/views/comments_extra_fields.html.erb
@@ -11,13 +11,15 @@ | @@ -11,13 +11,15 @@ | ||
11 | <div class="comments-software-people-benefited"> | 11 | <div class="comments-software-people-benefited"> |
12 | <%= label_tag "comments_people_benefited", _("Number of Beneficiaries")%> | 12 | <%= label_tag "comments_people_benefited", _("Number of Beneficiaries")%> |
13 | <span class="star-tooltip" title="Estimativa do número de pessoas beneficiadas com a utilização do software"></span> | 13 | <span class="star-tooltip" title="Estimativa do número de pessoas beneficiadas com a utilização do software"></span> |
14 | - <%= text_field_tag "organization_rating[people_benefited]", "" %> | 14 | + <%= text_field_tag "people_benefited_tmp", "" %> |
15 | + <%= hidden_field_tag "organization_rating[people_benefited]", "" %> | ||
15 | </div> | 16 | </div> |
16 | 17 | ||
17 | <div class="comments-software-saved-values"> | 18 | <div class="comments-software-saved-values"> |
18 | <%= label_tag "comments_saved_value", _("Saved resources")%> | 19 | <%= label_tag "comments_saved_value", _("Saved resources")%> |
19 | <span class="star-tooltip" title='Estimativa dos valores em "Real" economizados com a utilização do software'></span> | 20 | <span class="star-tooltip" title='Estimativa dos valores em "Real" economizados com a utilização do software'></span> |
20 | - <%= text_field_tag "organization_rating[saved_value]", "", :placeholder=>"R$"%> | 21 | + <%= text_field_tag "saved_value_tmp", "", :placeholder=>"R$" %> |
22 | + <%= hidden_field_tag "organization_rating[saved_value]","" %> | ||
21 | </div> | 23 | </div> |
22 | </div> | 24 | </div> |
23 | </div> | 25 | </div> |