mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 12:05:37 +00:00
MINOR #3399: Removed last references to DefaultFieldHolder.
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@80220 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
f882f55492
commit
9069d5ae46
@ -3,7 +3,7 @@
|
|||||||
* Lets you include a nested group of fields inside a template.
|
* Lets you include a nested group of fields inside a template.
|
||||||
* This control gives you more flexibility over form layout.
|
* This control gives you more flexibility over form layout.
|
||||||
*
|
*
|
||||||
* Note: the child fields within a field group aren't rendered using DefaultFieldHolder. Instead,
|
* Note: the child fields within a field group aren't rendered using FieldHolder(). Instead,
|
||||||
* SmallFieldHolder() is called, which just prefixes $Field with a <label> tag, if the Title is set.
|
* SmallFieldHolder() is called, which just prefixes $Field with a <label> tag, if the Title is set.
|
||||||
* @package forms
|
* @package forms
|
||||||
* @subpackage fields-structural
|
* @subpackage fields-structural
|
||||||
|
@ -31,7 +31,7 @@ class FormField extends RequestHandler {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* @var $leftTitle string Used in SmallFieldHolder() to force a left-aligned label with correct spacing.
|
* @var $leftTitle string Used in SmallFieldHolder() to force a left-aligned label with correct spacing.
|
||||||
* Please use $title for FormFields rendered with DefaultFieldHolder.
|
* Please use $title for FormFields rendered with FieldHolder().
|
||||||
*/
|
*/
|
||||||
protected $leftTitle;
|
protected $leftTitle;
|
||||||
|
|
||||||
|
@ -1,8 +0,0 @@
|
|||||||
<div id="$Name" class="field $Type $extraClass">
|
|
||||||
<% if Title %><label class="left" for="$id">$Title</label><% end_if %>
|
|
||||||
<div class="middleColumn">
|
|
||||||
$Field
|
|
||||||
</div>
|
|
||||||
<% if RightTitle %><label class="right" for="$id">$RightTitle</label><% end_if %>
|
|
||||||
<% if Message %><span class="message $MessageType">$Message</span><% end_if %>
|
|
||||||
</div>
|
|
Loading…
x
Reference in New Issue
Block a user