Give submit button sensible default

This commit is contained in:
Jeffrey Way committed 2013-03-20 14:09:38 -04:00
1 parent 66c2d1d006
commit cd84f672c7
1 file changed
+2 -2
+2 -2
View File
@@ -383,7 +383,7 @@ class FormBuilder {
{
return $this->optionGroup($display, $value, $selected);
}
return $this->option($display, $value, $selected);
}
@@ -497,7 +497,7 @@ class FormBuilder {
* @param array $options
* @return string
*/
public function submit($value = null, $options = array())
public function submit($value = 'Submit', $options = array())
{
return $this->input('submit', null, $value, $options);
}