def display_comments_loop(post_id = nil)

      # get the comments by the post id or the globalized @content record
      comments = 
        if !post_id.nil?
          Comment.where(:post_id => post_id)
        else
          Comment.where(:post_id => @content.id, :comment_approved => 'Y', :is_spam => 'N')
        end

      if comments.size > 0
        html = "<h3 id='comments-title'>#{comments.count}" + I18n.t("helpers.view_helper.display_comments_loop.response") + " #{obtain_the_title}</h3>"
      end

      html = nested_comments obtain_comments.arrange(:order => 'created_at ASC')

      render :inline => html.html_safe

    end
def display_comments_loop(post_id = nil)

      # get the comments by the post id or the globalized @content record
      comments = 
        if !post_id.nil?
          Comment.where(:post_id => post_id)
        else
          Comment.where(:post_id => @content.id, :comment_approved => 'Y', :is_spam => 'N')
        end

      if comments.size > 0
        html = "<h3 id='comments-title'>#{comments.count}" + I18n.t("helpers.view_helper.display_comments_loop.response") + " #{obtain_the_title}</h3>"
      end

      html = nested_comments obtain_comments.arrange(:order => 'created_at ASC')

      render :inline => html.html_safe

    end
The view helper contains all of the functions that the views
 will use in order to display the contents of either the content
 or format other data
 Returns a nested list of the comments
 Params:
 +post_id+:: id of the post that you want to get comments for