Extends
lithium\template\Helper
Generates an HTML `<input type="submit" />` object.
Parameters
- string $title The title of the submit button.
- array $options Any options passed are converted to HTML attributes within the `<input />` tag.
Returns
string Returns a submit `<input />` tag with the given title and HTML attributes.Source
public function submit($title = null, array $options = array()) {
list($name, $options, $template) = $this->_defaults(__FUNCTION__, null, $options);
return $this->_render(__METHOD__, $template, compact('title', 'options'));
}