mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-08-28 13:36:12 +02:00
13 lines
406 B
Scheme
13 lines
406 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>
|