silverstripe-framework/templates/forms/ToggleCompositeField.ss
Andrew Short aa67b56b10 ENHANCEMENT: Refactored ToggleCompositeField.
* Use jquery ui accordion for the field, and implemented an admin theme.
* Made the setting of configuration consistent with other form fields.
* ToggleComposteField->startClosed() has been deprecated in favour of
  setStartClosed().
* Removed public access to the heading level, instead use getHeadingLevel()
  or setHeadingLevel().
2012-06-13 14:20:27 +10:00

9 lines
158 B
Scheme

<div $AttributesHTML>
<h$HeadingLevel><a href="#">$Title</a></h$HeadingLevel>
<div>
<% loop $FieldList %>
$FieldHolder
<% end_loop %>
</div>
</div>