### Options
- type - Set to 'reset' for reset inputs. Defaults to 'submit'
- templateVars - Additional template variables for the input element and its container.
- Other attributes will be assigned to the input element.
public submit ( string | null $caption = null, array $options = [] ) : string | ||
$caption | string | null | The label appearing on the button OR if string contains :// or the extension .jpg, .jpe, .jpeg, .gif, .png use an image if the extension exists, AND the first character is /, image is relative to webroot, OR if the first character is not /, image is relative to webroot/img. |
$options | array | Array of options. See above. |
Результат | string | A HTML submit button |