about summary refs log tree commit diff
path: root/app/views/layouts/admin.html.haml
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/layouts/admin.html.haml')
-rw-r--r--app/views/layouts/admin.html.haml5
1 files changed, 4 insertions, 1 deletions
diff --git a/app/views/layouts/admin.html.haml b/app/views/layouts/admin.html.haml
index ec3629dd8..f3ef00f9d 100644
--- a/app/views/layouts/admin.html.haml
+++ b/app/views/layouts/admin.html.haml
@@ -22,7 +22,10 @@
     .content-wrapper
       .content
         .content-heading
-          %h2= yield :page_title
+          - if content_for?(:heading)
+            = yield :heading
+          - else
+            %h2= yield :page_title
 
           - if :heading_actions
             .content-heading-actions