silverstripe-gridfieldexten.../templates/Symbiote/GridFieldExtensions/GridFieldAddNewInlineRow.ss

14 lines
496 B
Scheme
Raw Normal View History

<script type="text/x-tmpl" class="ss-gridfield-add-inline-template">
<tr class="ss-gridfield-item ss-gridfield-inline-new">
<% loop $Me %>
<% if $IsActions %>
<td$Attributes>
2017-07-26 03:59:02 +02:00
<button class="ss-gridfield-delete-inline gridfield-button-delete action gridfield-button-delete btn--icon-md font-icon-trash-bin btn--no-text grid-field__icon-action form-group--no-label"></button>
</td>
<% else %>
<td$Attributes>$Content</td>
<% end_if %>
<% end_loop %>
</tr>
</script>