<% end %>
<% content_for :content_top do %>
- <% if !['Group','User'].include? @object.class.to_s # not a project %>
+ <% if !['Group','User', 'Collection'].include? @object.class.to_s # projects and collections handle it themselves %>
<%= render partial: 'name_and_description' %>
<% end %>
</h3>
</div>
<div class="panel-body">
+ <div class="arv-description-as-subtitle">
+ <%= render_editable_attribute @object, 'description', nil, { 'data-emptytext' => "(No description provided)", 'data-toggle' => 'manual' } %>
+ </div>
<img src="/favicon.ico" class="pull-right" alt="" style="opacity: 0.3"/>
<% if defined? @same_pdh %>
<p>Found in collections:<p>