Here i want to include a html element in cakephp 3.2 anchor link. I have tried it ,but its not working.Below is code.
<?= $this->Html->link(__(''), ['action' => 'edit', $user->id],['class'=>"btn btn-primary"]) ?>
I want below html in cake format.
<a class="btn btn-primary" href="/adminCake3/adminCake3/users/edit/3"></a>
Here inplace of icon ,html tag() is coming. Thank you in advance.
What I have tried:
Here i want to include a html element in cakephp 3.2 anchor link. I have tried it ,but its not working.Below is code.
<?= $this->Html->link(__(''), ['action' => 'edit', $user->id],['class'=>"btn btn-primary"]) ?>
I want below html in cake format.
<a class="btn btn-primary" href="/adminCake3/adminCake3/users/edit/3"></a>
Here inplace of icon ,html tag() is coming. Thank you in advance.