src/Helpers/Html.php
public static function resetInput($label = 'Reset', $options = [], $encoding = null)
    {
        $options['type'] = 'reset';
        $options['value'] = $label;
        return static::tag('input', '', $options, $encoding);
    }
public static function resetInput($label = 'Reset', $options = [], $encoding = null)
    {
        $options['type'] = 'reset';
        $options['value'] = $label;
        return static::tag('input', '', $options, $encoding);
    }
Generates a reset input button.
@param string $label the value attribute. If it is null, the value attribute will not be generated.
@param array  $options the attributes of the button tag. The values will be HTML-encoded using [[encode()]].
Attributes whose value is null will be ignored and not put in the tag returned.
See [[renderTagAttributes()]] for details on how attributes are being rendered.
@param string $encoding
@return string the generated button tag