From 2fa3b7b270a62e9d435d5a186e12cf64a3d3d93a Mon Sep 17 00:00:00 2001 From: pedrodelyra Date: Mon, 27 Jul 2015 17:11:54 -0300 Subject: [PATCH] Adding tooltip title and absent comments display --- views/comments_extra_fields.html.erb | 4 ++-- views/communities_ratings_extra_fields_show_data.html.erb | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/views/comments_extra_fields.html.erb b/views/comments_extra_fields.html.erb index 3bf677d..0937a1e 100644 --- a/views/comments_extra_fields.html.erb +++ b/views/comments_extra_fields.html.erb @@ -9,13 +9,13 @@
<%= label_tag "comments_people_benefited", _("Number of Beneficiaries")%> - + <%= text_field_tag "comments[people_benefited]", "" %>
<%= label_tag "comments_saved_value", _("Saved resources")%> - + <%= text_field_tag "comments[saved_value]", "", :placeholder=>"R$"%>
diff --git a/views/communities_ratings_extra_fields_show_data.html.erb b/views/communities_ratings_extra_fields_show_data.html.erb index 1cbae5a..ce769f8 100644 --- a/views/communities_ratings_extra_fields_show_data.html.erb +++ b/views/communities_ratings_extra_fields_show_data.html.erb @@ -1,10 +1,10 @@
- People benefited : <%= user_rating.comment.people_benefited %> + People benefited : <%= user_rating.comment.people_benefited unless user_rating.comment.nil? %>
- Saved Value : <%= user_rating.comment.saved_value %> + Saved Value : <%= user_rating.comment.saved_value unless user_rating.comment.nil? %>
-- libgit2 0.21.2