silverstripe-userforms/templates/gridfield/GridFieldAddItemInlineButton_Row.ss
Damian Mooyman 9f112e3b23 Add "Add page break" button
Fix unit test failures
2015-08-11 14:18:46 +12:00

14 lines
396 B
Scheme

<script type="text/x-tmpl" class="$TemplateName">
<tr class="ss-gridfield-inline-new $ExtraClass.ATT">
<% loop $Columns %>
<% 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>