

<!-- HEAD -->

<%= stylesheet_link_tag 'suit-components-grid/index.css', 'suit-utils-size/index.css', 'suit-utils-position/index.css', 'modules/Event' %>


<!-- MAIN -->

<div class="col-lg-9 col-md-9 col-sm-8 col-xs-12">
  <div class="row">
    <div class="col-lg-12">
      <div id="main-content" class="Main ps-container">
        <items-section id="section"></items-section>
      </div>
    </div>
  </div>
</div>


<!-- SIDEBAR -->

<div class="col-lg-3 col-md-3 col-sm-4 hidden-xs u-margin-95-0">
  <%= render 'sidebar' %>
</div>




<!-- JS/CSS SECONDARIES -->

<%= stylesheet_link_tag params[:controller] %>

<%= include_gon %>

<%= javascript_load_dependencies([params[:controller]]) %>

<%= mount_riot_components do %>
    <script type="text/javascript">
        $(document).on('ready page:done onpopstate', function(){
            riot.mount('#section', {
                data: {
                    title: "<%= @title %>",
                    items: <%= raw @items_json.to_json %>
                }
            })
        })
    </script>
<% end %>



<!-- HEAD -->

<%= stylesheet_link_tag 'suit-components-grid/index.css', 'suit-utils-size/index.css', 'suit-utils-position/index.css', 'modules/Event' %>


<!-- MAIN -->

<div class="col-lg-9 col-md-9 col-sm-8 col-xs-12">
  <div class="row">
    <div class="col-lg-12">
      <div id="main-content" class="Main ps-container">
        <items-section id="section"></items-section>
      </div>
    </div>
  </div>
</div>


<!-- SIDEBAR -->

<div class="col-lg-3 col-md-3 col-sm-4 hidden-xs u-margin-95-0">
  <%= render 'sidebar' %>
</div>




<!-- JS/CSS SECONDARIES -->

<%= stylesheet_link_tag params[:controller] %>

<%= include_gon %>

<%= javascript_load_dependencies([params[:controller]]) %>

<%= mount_riot_components do %>
    <script type="text/javascript">
        $(document).on('ready page:done onpopstate', function(){
            riot.mount('#section', {
                data: {
                    title: "<%= @title %>",
                    items: <%= raw @items_json.to_json %>,
                    count: <%= @items_json.count %>
                }
            })
        })
    </script>
<% end %>

Adjust in "items-section" in section to count correctly
Adjust in "items-section" in section to count correctly
