% collection.each do |member| %>
<% cache ["#{member.class}-member", member] do %>
<% @model.display_attributes('index').each do |fields| %>
<% fields.each do |attribute, properties| %>
<%= field_value(properties, attribute, member) %>
|
<% end %>
<% end %>
<% if @model.is_sortable? %>
<%= render 'adminpanel/icons/move_to_better', member: member %>
<%= render 'adminpanel/icons/move_to_worst', member: member %>
|
<% end %>
<%= render 'adminpanel/icons/show', resource: member %>
<%= render 'adminpanel/icons/edit', resource: member %>
<%= render 'adminpanel/icons/delete', resource: member %>
<%= render 'adminpanel/icons/facebook', resource: member %>
<%= render 'adminpanel/icons/twitter', resource: member %>
|
<% end %>
<% end %>