MINOR Hide <legend> 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
This commit is contained in:
Ingo Schommer 2009-08-26 20:56:55 +00:00
parent a1773eac3d
commit 3b3e5e1ec1

View File

@ -8,7 +8,7 @@
<% end_if %>
<fieldset>
<legend>$Legend</legend>
<% if Legend %><legend>$Legend</legend><% end_if %>
<% control Fields %>
$FieldHolder
<% end_control %>