mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
15 lines
785 B
Scheme
15 lines
785 B
Scheme
|
<li class="EditableFormFieldOption" id="$ID">
|
||
|
<% if isReadonly %>
|
||
|
<img class="handle" src="sapphire/images/drag_readonly.gif" alt="These fields cannot be modified" />
|
||
|
$DefaultSelect
|
||
|
<input class="text" type="text" name="$Name.Attr[Title]" value="$Title.Attr" disabled="disabled" />
|
||
|
<input type="hidden" name="$Name.Attr[Sort]" value="$ID" />
|
||
|
<img src="cms/images/locked.gif" alt="These fields cannot be modified" />
|
||
|
<% else %>
|
||
|
<img class="handle" src="sapphire/images/drag.gif" alt="Drag to rearrange order of fields" />
|
||
|
$DefaultSelect
|
||
|
<input class="text" type="text" name="$Name.Attr[Title]" value="$Title.Attr" />
|
||
|
<input type="hidden" name="$Name.Attr[Sort]" value="$ID" />
|
||
|
<a href="#"><img src="cms/images/delete.gif" alt="Remove this option" /></a>
|
||
|
<% end_if %>
|
||
|
</li>
|