<%= render_view %>
<% data = action_data %>
<% if data["categories"].length == 1 %>
<script>
	$("#main-content .panel-collapse").addClass("in");
</script>
<% end %>
<%= create_pagination(ArchivesController.get_total_pages).html_safe %>