This repository has been archived on 2020-05-27. You can view files and clone it, but cannot push or open issues/pull-requests.
binaryattraction/app/views/photos/_photo_browser.html.haml

9 lines
315 B
Plaintext

#inner_photo_browser.centered{ :style => (request.xhr? ? 'display: none;' : '') }
- if @photos.nil? or @photos.empty?
%h3 None!
- else
- @photos.each_with_index do |photo, index|
%div.photo_browser_box
%a{ :href => url(:photo, photo) }
%img{ :src => photo_url(photo, 100, 100) }