-
Share
-
Copy the text below:
-
+
Share <%= shared_content.name %>
-
Content must be public, or in a public Universe.
+
+
+
+
To be shareable, content must be public, and in a public Universe.
+
<% if ((shared_content.respond_to? :universe) && shared_content.universe.present?) %>
- <% universe_is_public = true %>
- <%= render partial: 'content/form/privacy_toggle', locals: { content: shared_content.universe } %>
+
+ <%= 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, disabled: universe_is_public } %>
+
+ <%= render partial: 'content/form/privacy_toggle', locals: { content: shared_content } %>
+
<% end %>
-
-