Permalink
Browse files

BUG Incorrect html nesting of breadcrumbs

Removed h2 from outside breadcrumbs, and put it within the breadcrumbs
div

Relies on sapphire commit 72b4fbf
  • Loading branch information...
1 parent 4c73f23 commit 4fab9b8248819dc9008d5b94b5437cd833de31ac @adrexia adrexia committed with mateusz Nov 12, 2012
@@ -5,11 +5,11 @@
<div class="cms-content-header-info">
<% include BackLink_Button %>
- <h2 id="page-title-heading">
+
<% with Controller %>
<% include CMSBreadcrumbs %>
<% end_with %>
- </h2>
+
</div>
<% if Fields.hasTabset %>
<% with Fields.fieldByName('Root') %>
@@ -1,10 +1,8 @@
<div id="pages-controller-cms-content" class="cms-content center cms-tabset $BaseCSSClasses" data-layout-type="border" data-pjax-fragment="Content" data-ignore-tab-state="true">
<div class="cms-content-header north">
- <div class="cms-content-header-info">
- <h2>
- <% include CMSBreadcrumbs %>
- </h2>
+ <div class="cms-content-header-info">
+ <% include CMSBreadcrumbs %>
</div>
<div class="cms-content-header-tabs">
@@ -1,10 +1,8 @@
<div id="pages-controller-cms-content" class="cms-content center cms-tabset $BaseCSSClasses" data-layout-type="border" data-pjax-fragment="Content">
<div class="cms-content-header north">
- <div class="cms-content-header-info">
- <h2>
- <% include CMSBreadcrumbs %>
- </h2>
+ <div class="cms-content-header-info">
+ <% include CMSBreadcrumbs %>
</div>
<div class="cms-content-header-tabs">
@@ -2,12 +2,10 @@
<div class="cms-content-header north">
<% with EditForm %>
- <div class="cms-content-header-info">
- <h2>
+ <div class="cms-content-header-info">
<% with Controller %>
<% include CMSBreadcrumbs %>
- <% end_with %>
- </h2>
+ <% end_with %>
</div>
<% if Fields.hasTabset %>
<% with Fields.fieldByName('Root') %>
@@ -3,12 +3,10 @@
<div class="cms-content-header north">
<% with EditForm %>
<div class="cms-content-header-info">
- <% include BackLink_Button %>
- <h2 id="page-title-heading">
+ <% include BackLink_Button %>
<% with Controller %>
<% include CMSBreadcrumbs %>
- <% end_with %>
- </h2>
+ <% end_with %>
</div>
<% end_with %>
</div>

0 comments on commit 4fab9b8

Please sign in to comment.