Fixed new answer textarea label

This commit is contained in:
Zach Copley 2011-04-18 15:39:16 -07:00
parent c79d90be27
commit ee799927e6

View File

@ -57,7 +57,7 @@ class QnanewanswerForm extends Form
*
* @return void
*/
function __construct(HTMLOutputter $out, QnA_Question $question, $showQuestion = true)
function __construct(HTMLOutputter $out, QnA_Question $question, $showQuestion = false)
{
parent::__construct($out);
$this->question = $question;
@ -110,7 +110,7 @@ class QnanewanswerForm extends Form
}
$out->hidden('qna-question-id', $id, 'id');
$out->textarea('qna-answer', 'answer', null, null, 'answer');
$out->textarea('qna-answer', _m('Enter your answer'), null, null, 'answer');
}
/**