Sha256: 6d7fddce1e625f9c980257c83a98316b96f5813024e6430be2d25a6fc8c6cdc3

Contents?: true

Size: 628 Bytes

Versions: 1

Compression:

Stored size: 628 Bytes

Contents

<% if @pictures and @pictures.any? %>
  <%= pagination_tag @search %>
  <hr />
  <% @pictures.to_a.in_groups_of(4, false) do |pictures| %>
    <div class="row">
      <% pictures.each do |picture| %>
        <div class="col-md-3 picture">
          <%= link_to '#', class: 'media-link bg-transparent', data: {media: 'picture', 'media-id' => picture.id} do %>
            <%= image_tag picture.url(:thumb), title: picture.data_file_name, class: 'media-image' %>
          <% end %>
        </div>
      <% end -%>
    </div>
  <% end -%>
<% else -%>
  <h3>Yikes! I couldn't find any pictures matching your search.</h3>
<% end -%>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
georgia-0.8.0 app/views/georgia/api/media/pictures.html.erb