<% content_for :tab_line_buttons do %>
-<div class="row">
- <div class="col-md-6"></div>
- <div class="col-md-6">
- <div class="pull-right">
- Collection storage status:
- <%= render partial: 'toggle_persist', locals: { uuid: @object.uuid, current_state: (@is_persistent ? 'persistent' : 'cache') } %>
- </div>
- </div>
-</div>
+<span style="padding-left: 1em">Collection storage status:</span>
+<%= render partial: 'toggle_persist', locals: { uuid: @object.uuid, current_state: (@is_persistent ? 'persistent' : 'cache') } %>
<% end %>
<% file_tree = @object.andand.files_tree %>
</li>
<% end # if file or directory %>
<% end # file_tree.each %>
- </ul>
+ <%= raw(dirstack.map { |_| "</ul>" }.join("</li>")) %>
<% end # if file_tree %>
+
+<% content_for :footer_html do %>
+<div id="collection-sharing-modal-window" class="modal fade" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true"></div>
+<% end %>