Commit c3c8412d7cd9560074e9195ca2540ae140062a0c

Authored by Victor Costa
2 parents 85d14d02 cef08172

Merge branch 'AI3205-comment-paragraph' into stable

plugins/comment_paragraph/lib/comment_paragraph_plugin.rb
@@ -28,7 +28,7 @@ class CommentParagraphPlugin < Noosfero::Plugin @@ -28,7 +28,7 @@ class CommentParagraphPlugin < Noosfero::Plugin
28 def comment_extra_contents(args) 28 def comment_extra_contents(args)
29 comment = args[:comment] 29 comment = args[:comment]
30 proc { 30 proc {
31 - render :file => 'comment/comment_extra', :locals => {:comment => comment} 31 + render :file => 'comment_paragraph_plugin_profile/comment_extra', :locals => {:comment => comment}
32 } 32 }
33 end 33 end
34 34
plugins/comment_paragraph/views/comment/comment_extra.html.erb
@@ -1,3 +0,0 @@ @@ -1,3 +0,0 @@
1 -<input type="hidden" value="<%= comment.comment_paragraph_selected_area%>" class="paragraph_comment_area" />  
2 -<input type="hidden" value="<%= comment.paragraph_uuid%>" class="paragraph_uuid" /><input type="hidden" value="<%= comment.comment_paragraph_selected_content%>" class="paragraph_selected_content" />  
3 -<input type="hidden" value="<%= comment.comment_paragraph_selected_content%>" class="paragraph_selected_content" />  
plugins/comment_paragraph/views/comment_paragraph_plugin_profile/comment_extra.html.erb 0 → 100644
@@ -0,0 +1,3 @@ @@ -0,0 +1,3 @@
  1 +<input type="hidden" value="<%= comment.comment_paragraph_selected_area%>" class="paragraph_comment_area" />
  2 +<input type="hidden" value="<%= comment.paragraph_uuid%>" class="paragraph_uuid" /><input type="hidden" value="<%= comment.comment_paragraph_selected_content%>" class="paragraph_selected_content" />
  3 +<input type="hidden" value="<%= comment.comment_paragraph_selected_content%>" class="paragraph_selected_content" />