silverstripe-framework/templates/Includes/TableListField_SelectOptions.ss

9 lines
235 B
Scheme

<% if SelectOptions %>
<ul class="selectOptions">
<li><% _t('TableListField.SELECT', 'Select:') %></li>
<% loop SelectOptions %>
<li><a rel="$Key" href="#" title="$Key">$Value</a></li>
<% end_loop %>
</ul>
<% end_if %>