From 5cb69843dbd3077c1cd12aa300806cfc6414bbad Mon Sep 17 00:00:00 2001 From: Aaron Schulz Date: Wed, 11 Sep 2013 14:47:11 -0700 Subject: [PATCH] Made HTMLForm wrap the submit buttons in a container for styling Change-Id: I6510493a80c18ba5a466a16e3ca39396f9a60f60 --- includes/HTMLForm.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/includes/HTMLForm.php b/includes/HTMLForm.php index ed9440ca15..5de34d6712 100644 --- a/includes/HTMLForm.php +++ b/includes/HTMLForm.php @@ -700,7 +700,7 @@ class HTMLForm extends ContextSource { * @return String HTML. */ function getButtons() { - $html = ''; + $html = ''; if ( $this->mShowSubmit ) { $attribs = array(); @@ -750,6 +750,8 @@ class HTMLForm extends ContextSource { $html .= Html::element( 'input', $attrs ); } + $html .= ''; + return $html; } -- 2.20.1