Commit c9b158c7eed1be7e0dfa311d4dce4b861b4a64a5

Authored by Thiago Ribeiro
1 parent c684331b

Fix mask to format field in correct id

Signed-off-by: Gabriel Silva <gabriel93.silva@gmail.com>
src/noosfero-spb/software_communities/views/comments_extra_fields.html.erb
... ... @@ -11,13 +11,15 @@
11 11 <div class="comments-software-people-benefited">
12 12 <%= label_tag "comments_people_benefited", _("Number of Beneficiaries")%>
13 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 16 </div>
16 17  
17 18 <div class="comments-software-saved-values">
18 19 <%= label_tag "comments_saved_value", _("Saved resources")%>
19 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 23 </div>
22 24 </div>
23 25 </div>
... ...