<%= shared_content.class.icon %> Share <%= shared_content.name %>

<% if current_user && shared_content.user == current_user %>

To be shareable, content must either be public or in a public Universe.

<% if ((shared_content.respond_to? :universe) && shared_content.universe.present?) %>
<%= render partial: 'content/form/privacy_toggle', locals: { content: shared_content.universe } %>
<% end %> <% if shared_content.respond_to? :privacy %>
<%= render partial: 'content/form/privacy_toggle', locals: { content: shared_content } %>
<% end %> <% if shared_content.is_a?(Universe) %>

Sharing this universe will allow all pages within it to also be viewed. If you'd like to share specific pages, you should share those pages directly instead.

<% end %>

<%= link_to 'https://medium.com/indent-labs/privacy-on-notebook-ai-how-it-works-c23a59faeae2', class: 'btn btn-small blue lighten-1', target: '_new' do %> Click here to learn more about sharing pages on Notebook.ai <% end %>

<% else %>

This <%= shared_content.class.to_s.downcase %> is being shared on Notebook.ai by <%= link_to shared_content.user.name, shared_content.user %>.

<% end %>
close