Sha256: e7150ba9fb6d63e4e31615846fd54d995949de4d6a085086bbc7be4449392ef6

Contents?: true

Size: 623 Bytes

Versions: 9

Compression:

Stored size: 623 Bytes

Contents

<% if @pictures and @pictures.any? %>
  <%= pagination_tag @search %>
  <hr />
  <% @pictures.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

9 entries across 9 versions & 1 rubygems

Version Path
georgia-0.7.8 app/views/georgia/api/media/pictures.html.erb
georgia-0.7.7 app/views/georgia/api/media/pictures.html.erb
georgia-0.7.6 app/views/georgia/api/media/pictures.html.erb
georgia-0.7.5 app/views/georgia/api/media/pictures.html.erb
georgia-0.7.4 app/views/georgia/api/media/pictures.html.erb
georgia-0.7.3 app/views/georgia/api/media/pictures.html.erb
georgia-0.7.2 app/views/georgia/api/media/pictures.html.erb
georgia-0.7.1 app/views/georgia/api/media/pictures.html.erb
georgia-0.7.0 app/views/georgia/api/media/pictures.html.erb