silverstripe-userforms/templates/EditableDropdownOption.ss

10 lines
502 B
Scheme
Executable File

<li>
<img class="handle" src="sapphire/images/drag.gif" alt="<% _t('DRAG', 'Drag to rearrange order of options') %>" />
<input type="text" name="$Name.Attr[Title]" value="$Title.Attr" />
<input type="radio" name="$Name.Attr[Default]" value="$ID" />
<% if isReadonly %>
<a href="#"><img src="cms/images/delete.gif" alt="<% _t('DELETE', 'Remove this option') %>" /></a>
<% else %>
<img src="cms/images/locked.gif" alt="<% _t('LOCKED', 'These fields cannot be modified') %>" />
<% end_if %>
</li>