
<% if content_for?(:page_actions) %>
  <div class="page-actions d-lg-none col-12 px-0 <% if content_for?(:sidebar) %>pb-3<% end %> text-center" data-hook="toolbar">
    <%= yield :page_actions %>
  </div>
<% end %>

<% if content_for?(:sidebar) %>
  <aside id="sidebar" class="main-right-sidebar px-2" data-hook>
    <%= yield :sidebar %>
  </aside>
<% end %>


<% if content_for?(:page_actions) %>
  <div class="page-actions d-flex justify-content-center flex-wrap d-lg-none col-12 px-0 <% if content_for?(:sidebar) %>pb-3<% end %> text-center" data-hook="toolbar">
    <%= yield :page_actions %>
  </div>
<% end %>

<% if content_for?(:sidebar) %>
  <aside id="sidebar" class="main-right-sidebar px-2" data-hook>
    <%= yield :sidebar %>
  </aside>
<% end %>

Fix buttons displaying inline or stacking if form tag vs button tag.
Fix buttons displaying inline or stacking if form tag vs button tag.
