| @@ 982-988 (lines=7) @@ | ||
| 979 | * @return string |
|
| 980 | * @static |
|
| 981 | */ |
|
| 982 | public static function resetButton($label = 'Reset', array $attributes = []) |
|
| 983 | { |
|
| 984 | $attributes['type'] = 'reset'; |
|
| 985 | $attributes['value'] = $label; |
|
| 986 | ||
| 987 | return self::tag('input', $attributes); |
|
| 988 | } |
|
| 989 | ||
| 990 | /** |
|
| 991 | * Render submit button tag |
|
| @@ 1001-1007 (lines=7) @@ | ||
| 998 | * @return string |
|
| 999 | * @static |
|
| 1000 | */ |
|
| 1001 | public static function submitButton($label = 'Submit', array $attributes = []) |
|
| 1002 | { |
|
| 1003 | $attributes['type'] = 'submit'; |
|
| 1004 | $attributes['value'] = $label; |
|
| 1005 | ||
| 1006 | return self::tag('input', $attributes); |
|
| 1007 | } |
|
| 1008 | ||
| 1009 | /** |
|
| 1010 | * Render input button tag |
|