<p id="notice"><%= notice %></p>


<div class="container-jumbo">
  <div class="header-image"></div>
  <div class="header-title"><%= @trip.location %> Trip</div>
</div>

<div class="container">
    <div class="row">

          <h2>Start date:</h2>
          <h3><%= @trip.start_date %></h3>

          <h2>End date:</h2>
          <h3><%= @trip.end_date %></h3>

          <h2>Upvote count:</h2>
          <h3><%= @trip.votes_for.count %></h3>

          <h2>Voted on by:</h2>
          <% @trip.votes_for.up.by_type(User).voters.each do |user| %>
            <%= user.email %>,
          <% end %>
          <br />



  <%= link_to "Upvote Trip", like_trip_path(@trip), method: :put, class: "button tiny" %> |

  <%= link_to 'Invite participants', new_user_invitation_path(trip_id: @trip.id) %> |

  <%= link_to 'Edit', edit_trip_path(@trip) %> |
  <%= link_to 'Back', trips_path %>
</div>
<p id="notice"><%= notice %></p>


<div class="container-jumbo">
  <div class="header-image"></div>
  <div class="header-title"><%= @trip.location %> Trip</div>
</div>

<div class="container">
    <div class="row">

          <h2>Start date:</h2>
          <h3><%= @trip.start_date %></h3>

          <h2>End date:</h2>
          <h3><%= @trip.end_date %></h3>

          <h2>Upvote count:</h2>
          <h3><%= @trip.votes_for.count %></h3>

          <h2>Voted on by:</h2>
          <h3><%= @trip.votes_for.up.by_type(User).voters.map { |user| user.email }.join(", ") %></h3>
          <br />



  <%= link_to "Upvote Trip", like_trip_path(@trip), method: :put, class: "button tiny" %> |

  <%= link_to 'Invite participants', new_user_invitation_path(trip_id: @trip.id) %> |

  <%= link_to 'Edit', edit_trip_path(@trip) %> |
  <%= link_to 'Back', trips_path %>
</div>

Reformat 'voted on by' list
Reformat 'voted on by' list
