silverstripe-userforms/templates/EditableRadioOption.ss

10 lines
502 B
Scheme
Raw Normal View History

<li>
<img class="handle" src="sapphire/images/drag.gif" alt="<% _t('DRAG', 'Drag to rearrange order of options') %>" />
<input type="radio" name="$Name.Attr[Default]" value="$ID" />
<input type="text" name="$Name.Attr[Title]" value="$Title.Attr" />
<% 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>