<div>
<h2><%= @trail.name %></h2>
</div>


<% @comments.each do |comment| %>
  <div class="vote-container">
    <%= image_tag("snowflake.png", class: "snowflake") %>
    <br>
    <%= comment.votes.sum(:value) %>
  </div>
  <div class="comment-container">
    <ul>
      <li><p class="comment"><%= comment.content%></p></li><br>
      <li>Posted by: <%= comment.user.name %></p></li>
    </ul>
  </div>
<% end %>
<div>
<h2><%= @trail.name %></h2>
<%= link_to 'Chat', new_trail_comment_path(@trail) %>
</div>



<% @comments.each do |comment| %>
  <div class="vote-container">
    <%= image_tag("snowflake.png", class: "snowflake") %>
    <br>
    <%= comment.votes.sum(:value) %>
  </div>
  <div class="comment-container">
    <ul>
      <li><p class="comment"><%= comment.content%></p></li><br>
      <li>Posted by: <%= comment.user.name %></p></li>
    </ul>
  </div>
<% end %>
Move comment link inside Trail name div
Move comment link inside Trail name div
