Give submit button sensible default
This commit is contained in:
1 parent
66c2d1d006
commit
cd84f672c7
1 file changed
+2
-2
+2
-2
@@ -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);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user