<%= @trip.name %>
<%= human_date(@trip.started_at) %> - <%= human_date(@trip.ended_at) %>
<%= render "trips/countries", trip: @trip, current_user: current_user, distance_unit: current_user.safe_settings.distance_unit %>
<% if @photo_previews.any? %>
<% @photo_previews.each_slice(3) do |slice| %>
<% end %>
<% end %>
<% if @photo_sources.any? %>
<% @photo_sources.each do |source| %>
<%= link_to "More photos on #{source}", photo_search_url(source, current_user.settings, @trip.started_at, @trip.ended_at), class: "btn btn-primary mt-2", target: '_blank' %>
<% end %>