<%= link_to content.name, content %>
<% if user_signed_in? && current_user == @page_collection.user %>
more_vert
-
<%= link_to 'All pages from this user', page_collection_submissions_by_user_path(page_collection_id: @page_collection.id, user_id: page.user_id) %>
-
<%= link_to 'Remove from collection', page_collection_submission_path(page), method: :delete %>
<% end %>
<% if page.explanation? %>
<%= simple_format page.explanation %>
<% end %>
-
Submitted by
<%= link_to content.user, class: "#{User.text_color}" do %>
<%= image_tag content.user.image_url(size=20), class: 'left circle', style: 'margin-right: 8px;' %>
<%= content.user.display_name %>
<% end %>