diff --git a/app/views/photos/new.html.haml b/app/views/photos/new.html.haml index fb06bdeba..32ea66915 100644 --- a/app/views/photos/new.html.haml +++ b/app/views/photos/new.html.haml @@ -21,14 +21,13 @@ = page_entries_info @photos, :model => "photos" = will_paginate @photos - %ul.thumbnails - .row - - @photos.each do |p| - %li.col-md-2.six-across - .thumbnail(style='height: 220px') - = link_to image_tag(FlickRaw.url_q(p), :alt => '', :class => 'img-rounded'), photos_path(:photo => { :flickr_photo_id => p.id }, :planting_id => @planting_id), :method => :post - %p - =p.title + .row + - @photos.each do |p| + .col-md-2.six-across + .thumbnail(style='height: 220px') + = link_to image_tag(FlickRaw.url_q(p), :alt => '', :class => 'img-rounded'), photos_path(:photo => { :flickr_photo_id => p.id }, :planting_id => @planting_id), :method => :post + %p + =p.title - else .alert