Migrating CakePHP 2.x to 3.x, in submit button CakePHP 2.x have after and before attribute, but that is not working on CakePHP 3.x.
<?php
echo $this->Form->submit(__('Save'), array(
'div' => 'form-actions',
'class' => 'btn btn-large btn-primary btn-save',
'data-loading-text' => 'Please Wait...',
'after' => ' ' . $this->Html->link(__('Cancel'), array('admin' => true, 'action' => 'index'), array('class' => 'btn btn-large'))
)); ?>
Please help me, how to get the after button in submit button using CakePHP 3.x?