silverstripe-dms/templates/Includes/DMSGridFieldAddNewButton.ss
Sacha Judd d29a115f7b NEW add DMSDocumentAdmin and new "add document" GridField component
The add new button wasn't modular so have added a GridField component which can be reused
2017-05-04 10:10:20 +12:00

5 lines
293 B
Scheme

<%-- Customised to change the button's link to the DMSDocumentAddController instead of the default --%>
<a href="$NewLink" class="action action-detail ss-ui-action-constructive ss-ui-button ui-button ui-widget ui-state-default ui-corner-all new new-link" data-icon="add">
$ButtonName
</a>