<h1>SHOW Page </h1>

<%= render partial: 'question', @question: @question %>

<% @question.comments.each do |comment| %>

  <%= render 'comment', comment: @comment %>

<% end %>

<hr/>

<h3>Answers</h3>

  <% @answers.each do |answer| %>

    <div class = "render-question-answer">

      <%= render 'answer' %>

    </div>

    <% answer.comments.all.each do |comment| %>

      <%= render 'comment', comment: @comment %>

    <% end %>

  <% end %>

<hr/>



<h1>SHOW Page </h1>

<%= render 'question', question: @question %>

<% @question.comments.each do |comment| %>

  <%= render 'comment', comment: @comment %>

<% end %>

<hr/>

<h3>Answers</h3>

  <% @answers.each do |answer| %>

    <div class = "render-question-answer">

      <%= render 'answer' %>

    </div>

    <% answer.comments.all.each do |comment| %>

      <%= render 'comment', comment: @comment %>

    <% end %>

  <% end %>

<hr/>



Change render partial to render
Change render partial to render
