Commit cef0817247063eded708c18181e14c323b955186

Authored by Victor Costa
1 parent c698f7e9

comment_paragraph: move comment_extra inside comment_paragraph_plugin_profile fo…

…lder to avoid conflicts
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" />