Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <div id="preview_images">
- <% @item.uploads.each do | upload | %>
- <div class="previews">
- <h1><%= upload.item_file_name %></h1>
- <% if upload.is_image? %>
- <%= image_tag upload.item(:small) %>
- <% else %>
- <%= image_tag 'pictos/unknown.png' %>
- <% end %>
- </div>
- <% end %>
- </div>
- <% @gallery.pictures do |picture| %>
- <p> <%= picture.image_file_name %></p>
- <%= image_tag picture.image_url(:thumb)
- <% end %>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement