<%= render partial: 'content_page_shares/action_dropdown', locals: { share: share, content: content } %> <%= link_to share.user, class: "#{User.text_color}" do %> <%= image_tag share.user.image_url(size=20), class: 'left circle avatar' %> <%= share.user.display_name %> <% end %> created the <%= link_to content.title, content, class: "#{content.class.text_color} text-darken-1" %> Collection. <%= link_to [share.user, share], class: 'grey-text' do %> <%= time_ago_in_words share.created_at %> ago <% end %>
<%= link_to [share.user, share] do %> <%= image_tag content.first_public_image %> <% end %> <%= link_to content do %> <%= content.class.icon %> <%= content.title %> <% end %>
<% if content.description.present? %>
<%= simple_format content.description %>
<% end %> <% if content.page_types.any? %>

<% if content.allow_submissions? %> Now accepting submissions for <% else %> This Collection is for <% end %> <%= content.page_types.to_sentence %> pages.

<% end %> <%= render partial: 'share_comments/form', locals: { share: share } %>

<%= pluralize share.share_comments.count, 'comment' %>
<% share.share_comments.each do |comment| %> <%= render partial: 'share_comments/show', locals: { comment: comment, share: share } %> <% end %>
<% if share.share_comments.count > 10 %> <%= render partial: 'share_comments/form', locals: { share: share } %> <% end %>