Sha256: 6a65f85a560dd0b4a1ab886613c2ed60265adcf8be0e2e867440405460c298a3
Contents?: true
Size: 798 Bytes
Versions: 1
Compression:
Stored size: 798 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.edit") %> <%= 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
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
adminpanel-0.1.1 | app/views/adminpanel/galleries/_galleries_table.html.erb |