Commit f6f88118c5b643ebc7c21de5e162546104e98c36
1 parent
69733db2
Exists in
temp_ratings
Add a tooltip span to others plugins inject a message when its needed
Signed-off-by: Fabio Teixeira <fabio1079@gmail.com>
Showing
1 changed file
with
1 additions
and
0 deletions
Show diff stats
plugins/communities_ratings/views/communities_ratings_plugin_profile/new_rating.html.erb
@@ -42,6 +42,7 @@ | @@ -42,6 +42,7 @@ | ||
42 | <div class="formfieldline formfield type-text"> | 42 | <div class="formfieldline formfield type-text"> |
43 | <%= c.label :body, _('Comment (Optional):'), :class => "formlabel" %> | 43 | <%= c.label :body, _('Comment (Optional):'), :class => "formlabel" %> |
44 | <%= c.text_area :body %> | 44 | <%= c.text_area :body %> |
45 | + <span class="star-tooltip"></span> | ||
45 | </div> | 46 | </div> |
46 | 47 | ||
47 | <%= @plugins.dispatch(:communities_ratings_plugin_comments_extra_fields).collect { |content| instance_exec(&content) }.join("") %> | 48 | <%= @plugins.dispatch(:communities_ratings_plugin_comments_extra_fields).collect { |content| instance_exec(&content) }.join("") %> |