BUGFIX Added <legend> element immediately after <fieldset> for SearchForm and Form templates. This is required to validate these templates as W3C compliant

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.3@67417 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
Sean Harvey 2008-12-04 03:07:11 +00:00 committed by Sam Minnee
parent c7c06951bd
commit 5f7f762f7a
2 changed files with 9 additions and 7 deletions

View File

@ -7,6 +7,7 @@
<p id="{$FormName}_error" class="message $MessageType" style="display: none"></p> <p id="{$FormName}_error" class="message $MessageType" style="display: none"></p>
<% end_if %> <% end_if %>
<fieldset> <fieldset>
<legend></legend>
<% control Fields %> <% control Fields %>
$FieldHolder $FieldHolder
<% end_control %> <% end_control %>

View File

@ -1,5 +1,6 @@
<form $FormAttributes> <form $FormAttributes>
<fieldset> <fieldset>
<legend></legend>
<% control Fields %> <% control Fields %>
$FieldHolder $FieldHolder
<% end_control %> <% end_control %>