archive/app/views/archives/index.html.erb

8 lines
235 B
Plaintext

<%= 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 %>