<h1><%= @user.first_name %>'s CityGems</h1>
<h2>Gems I've created</h2>
<% if @created.length > 0 %>
  <ol id="created-gems">
    <% @created.each do |pin| %>
      <li>
        <strong> <%= link_to pin.name, pin_path(pin) %></strong>
        <p>Appeal: <%= pin.appeal %></p>
      </li>
    <% end %>
  </ol>
<% else %>
  <p>It looks like you haven't created any pins yet!</p>
<% end %>

<h2>Gems I've commented on</h2>
<% if @commented.length > 0 %>
  <ol id="commented-gems">
    <% @commented.each do |pin| %>
      <li>
        <strong> <%= link_to pin.name, pin_path(pin) %></strong>
        <p> My comment(s): </p>
        <ul>
          <% pin.comments.where(user_id: @user.id).each do |comment| %>
            <li><%= comment.content %> </li>
          <% end %>
        </ul>
      </li>
    <% end %>
  </ol>
<% else %>
  <p>It looks like you haven't commented on any pins yet!</p>
<% end %>

<h1><%= @user.first_name %>'s CityGems</h1>
<h2>Gems I've created</h2>
<% if @created.length > 0 %>
  <ol id="created-gems">
    <% @created.each do |pin| %>
      <li>
        <strong> <%= link_to pin.name, pin_path(pin) %></strong>
        <p>Appeal: <%= pin.appeal %></p>
      </li>
    <% end %>
  </ol>
<% else %>
  <p>It looks like you haven't created any pins yet!</p>
<% end %>

<h2>Gems I've commented on</h2>
<% if @commented.length > 0 %>
  <ol id="commented-gems">
    <% @commented.each do |pin| %>
      <li>
        <strong> <%= link_to pin.name, pin_path(pin) %></strong>
        <% if pin.comments.where(user_id: @user.id).length > 1 %>
          <p> My comments: </p>
        <% else %>
          <p> My comment: </p>
        <% end %>
        <ul>
          <% pin.comments.where(user_id: @user.id).each do |comment| %>
            <li><%= comment.content %> </li>
          <% end %>
        </ul>
      </li>
    <% end %>
  </ol>
<% else %>
  <p>It looks like you haven't commented on any pins yet!</p>
<% end %>

Make comments label display the correct plural/singular form
Make comments label display the correct plural/singular form
