echo \yii\helpers\Html::resetButton($label, $options);
echo \yii\helpers\Html::resetButton('Reset', ['class' => 'btn btn-default']);
echo \yii\helpers\Html::resetButton(' Reset', ['class' => 'btn btn-default']);
use yii\widgets\ActiveForm; $form = ActiveForm::begin(); echo \yii\helpers\Html::resetButton('Reset', ['class' => 'btn btn-default']); ActiveForm::end();This example demonstrates using the `resetButton` method in a form generated by the `ActiveForm` class. The `resetButton` method is part of the Yii Framework's helpers library, which provides a set of utility classes and methods to simplify common programming tasks in Yii applications.