<% content_for(:layout) do %>
<% if content_for(:top_content).present? %>
<%= yield :top_content %>
<% end %>
<% end %> <%= render template: "layouts/default" %>