<%
  creating = defined?(creating) && creating
  editing  = defined?(editing)  && editing
%>

<%= render partial: 'content/display/sidebar/categories', locals: { content: content, creating: creating, editing: editing } %>
<%= render partial: 'content/display/sidebar/references', locals: { content: content, creating: creating, editing: editing } %>

<% if editing %>
  <%= render partial: 'content/display/sidebar/more', locals: { content: content, creating: creating, editing: editing } %>
<% end %>
