]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/layouts/_content.html.erb
Record revokers when deactivating blocks by editing
[rails.git] / app / views / layouts / _content.html.erb
index 632a5c83961ab937feed1bfbad0feb3680bd94c6..9e28c0771b867d49122a178f181aed49bbd962b3 100644 (file)
@@ -1,11 +1,11 @@
-<div id="content">
+<div id="content" class="<%= content_for :content_class %>">
   <% if content_for? :content %>
     <%= yield :content %>
   <% else %>
     <%= render :partial => "layouts/flash", :locals => { :flash => flash } %>
     <% if content_for? :heading %>
-      <div class="content-heading">
-        <div class="content-inner">
+      <div class="content-heading bg-body-secondary border-bottom border-secondary-subtle">
+        <div class="content-inner <%= yield :heading_class %>">
           <%= yield :heading %>
         </div>
       </div>