From 3b3e5e1ec1fcdf9191ad96d1db9be3cd9531a0e7 Mon Sep 17 00:00:00 2001 From: Ingo Schommer Date: Wed, 26 Aug 2009 20:56:55 +0000 Subject: [PATCH] MINOR Hide tag in Form.ss if no $Legend value is set (#4520, thanks nicolaas) git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@85280 467b73ca-7a2a-4603-9d3b-597d59a354a9 --- templates/Includes/Form.ss | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/Includes/Form.ss b/templates/Includes/Form.ss index d41db386f..40f7b8abf 100644 --- a/templates/Includes/Form.ss +++ b/templates/Includes/Form.ss @@ -8,7 +8,7 @@ <% end_if %>
- $Legend + <% if Legend %>$Legend<% end_if %> <% control Fields %> $FieldHolder <% end_control %>