Sha256: 44d89681e8e32ddd7522bc724f5af736ce078faa4b6b52df70dea7813e88b48b
Contents?: true
Size: 786 Bytes
Versions: 14
Compression:
Stored size: 786 Bytes
Contents
<% @galleries.each do |gallery| %> <tr> <td><%= link_to image_tag(gallery.file_url(:thumb)), gallery_path(gallery) %></td> <td> <%= link_to content_tag(:i, nil, :class => "icon-chevron-up"), move_to_better_gallery_path(gallery), :method => :put, :remote => true %> <%= link_to content_tag(:i, nil, :class => "icon-chevron-down"), move_to_worst_gallery_path(gallery), :method => :put, :remote => true %> </td> <td> <%= link_to content_tag(:i, nil, :class => 'icon-pencil'), edit_gallery_path(gallery), :title => t("action.update") %> <%= link_to content_tag(:i, nil, :class => 'icon-remove'), gallery_path(gallery), :title => t("action.delete"), :method => :delete, :data => { :confirm => t("action.delete confirmation") } %> </td> </tr> <% end %>
Version data entries
14 entries across 14 versions & 1 rubygems