mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 12:05:37 +00:00
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:
parent
c7c06951bd
commit
5f7f762f7a
@ -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 %>
|
||||||
@ -15,7 +16,7 @@
|
|||||||
|
|
||||||
<% if Actions %>
|
<% if Actions %>
|
||||||
<div class="Actions">
|
<div class="Actions">
|
||||||
<% control Actions %>$Field<% end_control %>
|
<% control Actions %>$Field<% end_control %>
|
||||||
</div>
|
</div>
|
||||||
<% end_if %>
|
<% end_if %>
|
||||||
<% if IncludeFormTag %>
|
<% if IncludeFormTag %>
|
||||||
|
@ -1,10 +1,11 @@
|
|||||||
<form $FormAttributes>
|
<form $FormAttributes>
|
||||||
<fieldset>
|
<fieldset>
|
||||||
<% control Fields %>
|
<legend></legend>
|
||||||
$FieldHolder
|
<% control Fields %>
|
||||||
<% end_control %>
|
$FieldHolder
|
||||||
<% control Actions %>
|
<% end_control %>
|
||||||
$Field
|
<% control Actions %>
|
||||||
<% end_control %>
|
$Field
|
||||||
|
<% end_control %>
|
||||||
</fieldset>
|
</fieldset>
|
||||||
</form>
|
</form>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user