<% content_for :content do %>
    <div class="container-fluid" id="wrapper">
      <%= render partial: 'shared/flash_alerts',
                 locals: { flash: flash, notice: notice, alert: alert } %>
      <div id="sidebar-wrapper" class="<%= yield :sidebar_wrapper_class %>">
        <%= yield :sidebar %>
        <div id="sidebar-arrow"
             onclick="SideBarToggle.toggle()"
             data-shown="">
          <span class="fas fa-chevron-right"></span>
        </div>
      </div>
      <%= yield :secondary_navigation %>
      <div class="container-fluid <%= yield :container_class %>" id="fluid-content">
        <%= yield %>
      </div>
    </div>
<% end %>
<%= render template: 'layouts/application' %>
