Crop and photo bugfixes

Fixes two small layout bugs (both probably caused by the b3 upgrade, in some way or other):

https://www.pivotaltracker.com/story/show/78175444
https://www.pivotaltracker.com/story/show/78175754
Probably but does it matter right now?

On 4/09/2014 7:38 pm, Taylor Griffin wrote:
>
> In app/views/crops/_photos.html.haml:
>
> > @@ -1,5 +1,5 @@
> >  .row
> > -- if !crop.photos.empty?
> > -  - crop.photos.first(3).each do |p|
> > -    .col-md-4
> > -      = render :partial => "photos/thumbnail", :locals => { :photo => p }
> > +  - if !crop.photos.empty?
>
> Would it make send to use any of these 3 options here:
> 1. |unless crop.photos.empty?|
> 2. |if crop.photos.any?|
> 3. |if crop.photos.present?|
>
> —
> Reply to this email directly or view it on GitHub 
> <https://github.com/Growstuff/growstuff/pull/405/files#r17103916>.
>

-- 
Alex "Skud" Bayley
skud@growstuff.org
http://growstuff.org/