What Is The Alternative Implement Of Chtml;;linkbutton In Yii2

What is the alternative implement of CHtml;;linkButton in yii2 ?

Maybe this?

submitButton()

I had try.

Not this.

Can you just add a class to the link?

IE (if using bootstrap)


class="btn btn-success btn-large"

Thats probably bootstrap 2 syntax, I’m sure there is something equivalent in 3.

There’s no such thing anymore.

Add this attribute to any of your tag "data-method"="post".