/** * Create a submit button element. * * @param string|null $value The value of the submit button * @param array $options The options * @return string * @param string $value * @param array $options * @return string * @static */ public static function submit($value = null, $options = array()) { return \Bootstrapper\Form::submit($value, $options); }
public function testSubmitButton() { $html = Form::submit('foo', $this->testAttributes); $matcher = $this->createButtonMatcher('submit'); $this->assertTag($matcher, $html); }