<% wrap_layout :layout do %> <div class="container"> <div class="col-md-4"> <%= yield_content :sidebar %> </div> <!-- /col-md-4 --> <div id="main-content" class="col-md-8" role="main"> <div class="bs-docs-section"> <%= yield %> </div> </div> </div> <% end %>