diff options
Diffstat (limited to 'includes/htmlform/HTMLSubmitField.php')
-rw-r--r-- | includes/htmlform/HTMLSubmitField.php | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/includes/htmlform/HTMLSubmitField.php b/includes/htmlform/HTMLSubmitField.php new file mode 100644 index 00000000..653c08c0 --- /dev/null +++ b/includes/htmlform/HTMLSubmitField.php @@ -0,0 +1,9 @@ +<?php + +/** + * Add a submit button inline in the form (as opposed to + * HTMLForm::addButton(), which will add it at the end). + */ +class HTMLSubmitField extends HTMLButtonField { + protected $buttonType = 'submit'; +} |