mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
d072e280e4
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@62321 467b73ca-7a2a-4603-9d3b-597d59a354a9
15 lines
869 B
Scheme
Executable File
15 lines
869 B
Scheme
Executable File
<li class="EditableFormFieldOption" id="$ID">
|
|
<% if isReadonly %>
|
|
<img class="handle" src="sapphire/images/drag_readonly.gif" alt="<% _t('LOCKED', 'These fields cannot be modified') %>" />
|
|
$DefaultSelect
|
|
<input class="text" type="text" name="$Name.Attr[Title]" value="$Title.Att" disabled="disabled" />
|
|
<input type="hidden" name="$Name.Attr[Sort]" value="$ID" />
|
|
<img src="cms/images/locked.gif" alt="<% _t('LOCKED', 'These fields cannot be modified') %>" />
|
|
<% else %>
|
|
<img class="handle" src="sapphire/images/drag.gif" alt="<% _t('DRAG', 'Drag to rearrange order of fields') %>" />
|
|
$DefaultSelect
|
|
<input class="text" type="text" name="$Name.Attr[Title]" value="$Title.Att" />
|
|
<input type="hidden" name="$Name.Attr[Sort]" value="$ID" />
|
|
<a href="#"><img src="cms/images/delete.gif" alt="<% _t('DELETE', 'Remove this option') %>" /></a>
|
|
<% end_if %>
|
|
</li> |