From d7605f934c08558157c7ea873f4d2c368df8b4fe Mon Sep 17 00:00:00 2001 From: zanderwar Date: Fri, 12 Jan 2018 22:19:18 +1000 Subject: [PATCH] Resolves #14 - Skewed toolbar elements --- .../SingleObjectAdmin_Content.ss | 39 ++++++++++--------- 1 file changed, 20 insertions(+), 19 deletions(-) diff --git a/templates/LittleGiant/SingleObjectAdmin/SingleObjectAdmin_Content.ss b/templates/LittleGiant/SingleObjectAdmin/SingleObjectAdmin_Content.ss index 01bafa0..a595c16 100644 --- a/templates/LittleGiant/SingleObjectAdmin/SingleObjectAdmin_Content.ss +++ b/templates/LittleGiant/SingleObjectAdmin/SingleObjectAdmin_Content.ss @@ -1,27 +1,28 @@ -
+
+ $Tools -
- <% with $EditForm %> -
- <% with $Controller %> - <% include SilverStripe\\Admin\\CMSBreadcrumbs %> - <% end_with %> -
+
+
+
+ <% if $BreadcrumbsBackLink %><% end_if %> + <% include SilverStripe\\Admin\\CMSBreadcrumbs %> +
- <% if $Fields.hasTabset %> - <% with $Fields.fieldByName('Root') %> -
-
    + <% if $EditForm.Fields.hasTabset %> + <% with $EditForm.Fields.fieldByName('Root') %> +
    + -
    +
+
<% end_with %> <% end_if %> - <% end_with %> -
- - $EditForm +
+
+ $EditForm +
+