Sha256: 4195af75153727dd8da1102494cf57c87134f2d8779434bb4adbf26b92f52a66

Contents?: true

Size: 672 Bytes

Versions: 10

Compression:

Stored size: 672 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 => "fa fa-chevron-up"), move_to_better_gallery_path(gallery), :method => :put, :remote => true %>
      <%= link_to content_tag(:i, nil, :class => "fa fa-chevron-down"), move_to_worst_gallery_path(gallery), :method => :put, :remote => true %>
    </td>
    <td>
      <%= render 'shared/show_icon_button', resource: gallery %>
      <%= render 'shared/edit_icon_button', resource: gallery %>

      <%= render 'shared/delete_icon_button', resource: gallery %>
    </td>
  </tr>
<% end %>

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
adminpanel-2.2.5 app/views/adminpanel/galleries/_galleries_table.html.erb
adminpanel-2.2.4 app/views/adminpanel/galleries/_galleries_table.html.erb
adminpanel-2.2.3 app/views/adminpanel/galleries/_galleries_table.html.erb
adminpanel-2.2.2 app/views/adminpanel/galleries/_galleries_table.html.erb
adminpanel-2.2.1 app/views/adminpanel/galleries/_galleries_table.html.erb
adminpanel-2.2.0 app/views/adminpanel/galleries/_galleries_table.html.erb
adminpanel-2.1.7 app/views/adminpanel/galleries/_galleries_table.html.erb
adminpanel-2.1.6 app/views/adminpanel/galleries/_galleries_table.html.erb
adminpanel-2.1.5 app/views/adminpanel/galleries/_galleries_table.html.erb
adminpanel-2.1.3 app/views/adminpanel/galleries/_galleries_table.html.erb