mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
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:
parent
a1773eac3d
commit
3b3e5e1ec1
@ -8,7 +8,7 @@
|
|||||||
<% end_if %>
|
<% end_if %>
|
||||||
|
|
||||||
<fieldset>
|
<fieldset>
|
||||||
<legend>$Legend</legend>
|
<% if Legend %><legend>$Legend</legend><% end_if %>
|
||||||
<% control Fields %>
|
<% control Fields %>
|
||||||
$FieldHolder
|
$FieldHolder
|
||||||
<% end_control %>
|
<% end_control %>
|
||||||
|
Loading…
Reference in New Issue
Block a user