silverstripe-dms/templates/Includes/DMSGridFieldAddNewButton.ss

5 lines
293 B
Scheme
Raw Normal View History

<%-- 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>