mirror of
https://github.com/symbiote/silverstripe-gridfieldextensions.git
synced 2024-10-22 17:05:39 +02:00
692453bf9b
* Builds on the editable cols component with GridFieldAddNewInlineButton. * Closes #2.
14 lines
394 B
Scheme
14 lines
394 B
Scheme
<script type="text/x-tmpl" class="ss-gridfield-add-inline-template">
|
|
<tr class="ss-gridfield-inline-new">
|
|
<% loop $Me %>
|
|
<% if $IsActions %>
|
|
<td$Attributes>
|
|
<button class="ss-gridfield-delete-inline gridfield-button-delete ss-ui-button" data-icon="cross-circle"></button>
|
|
</td>
|
|
<% else %>
|
|
<td$Attributes>$Content</td>
|
|
<% end_if %>
|
|
<% end_loop %>
|
|
</tr>
|
|
</script>
|