<% unless @place.photos.empty? %>
  <%#= thumb_for(@place.photos.first, '80x113#') %>
  <% @place.photos.each do |p| %>
  	<%= thumb_for(p, '80x113#') %>
  <% end %>
<% end %>
<% photos = @place.photos %>
<% unless photos.empty? %>
  <% if photos.length == 1 %>
    <%= thumb_for(photos.first, '80x113#') %>
  <% else %>
    <div id="myCarousel" class="carousel slide">
      <!-- Carousel items -->
      <div class="carousel-inner">
        <div class="active item"><%= thumb_for(photos.first, '80x113#') %></div>
        <% photos[1..(photos.length() -1)].each do |p| %>
          <div class="item"><%= thumb_for(p, '80x113#') %></div>
        <% end %>
      </div>
      <!-- Carousel nav -->
      <a class="carousel-control left" href="#myCarousel" data-slide="prev">&lsaquo;</a>
      <a class="carousel-control right" href="#myCarousel" data-slide="next">&rsaquo;</a>
    </div>
  <% end %>
<% end %>



Add a photo carousel when many place photos
Add a photo carousel when many place photos
