mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
26 lines
1.1 KiB
Scheme
26 lines
1.1 KiB
Scheme
|
<div class="EditableCheckbox EditableFormField" id="$Name.Attr">
|
||
|
<div class="FieldInfo">
|
||
|
<% if isReadonly %>
|
||
|
<img class="handle" src="sapphire/images/drag-readonly.gif" alt="Drag to rearrange order of fields" />
|
||
|
<% else %>
|
||
|
<img class="handle" src="sapphire/images/drag.gif" alt="Drag to rearrange order of fields" />
|
||
|
<% end_if %>
|
||
|
<img class="icon" src="sapphire/images/fe_icons/checkbox.png" alt="Checkbox field" />
|
||
|
$TitleField
|
||
|
<a class="toggler" href="#" title="More options"><img src="cms/images/edit.gif" alt="More options" /></a>
|
||
|
<a class="delete" href="#" title="Delete this field"><img src="cms/images/delete.gif" alt="Delete this field" /></a>
|
||
|
</div>
|
||
|
<div class="ExtraOptions" id="$Name.Attr-extraOptions">
|
||
|
<div class="FieldDefault">
|
||
|
<label>
|
||
|
$CheckboxField
|
||
|
</label>
|
||
|
</div>
|
||
|
<% control ExtraOptions %>
|
||
|
$FieldHolder
|
||
|
<% end_control %>
|
||
|
</div>
|
||
|
<input type="hidden" name="$Name.Attr[CustomParameter]" value="$CustomParameter" />
|
||
|
<input type="hidden" name="$Name.Attr[Type]" value="EditableCheckbox" />
|
||
|
<input type="hidden" name="$Name.Attr[Sort]" value="-1" />
|
||
|
</div>
|