silverstripe-framework/templates/SilverStripe/Forms/GridField/GridField_Item.ss
2022-11-15 18:20:54 +13:00

13 lines
407 B
Scheme

<tr class="ss-gridfield-item ss-gridfield-{$EvenOdd} $FirstLast" data-id="$ID">
<% if $GridField.ExtraColumnsCount %>
<% loop $Fields %>
<td>$Value</td>
<% end_loop %>
<td colspan="$GridField.ExtraColumnsCount" class="ss-gridfield-last"></td>
<% else %>
<% loop $Fields %>
<td <% if $FirstLast %>class="ss-gridfield-{$FirstLast}"<% end_if %>>$Value</td>
<% end_loop %>
<% end_if %>
</tr>