Commit 7fd799488ad2366432b869baab55232b102b0be6

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 28 def comment_extra_contents(args)
29 29 comment = args[:comment]
30 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 33 end
34 34  
... ...
plugins/comment_paragraph/views/comment/comment_extra.html.erb
... ... @@ -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 @@
  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" />
  3 +<input type="hidden" value="<%= comment.comment_paragraph_selected_content%>" class="paragraph_selected_content" />
... ...