Fixed new answer textarea label

This commit is contained in:
Zach Copley 2011-04-18 15:39:16 -07:00
parent c79d90be27
commit ee799927e6
1 changed files with 2 additions and 2 deletions

View File

@ -57,7 +57,7 @@ class QnanewanswerForm extends Form
* *
* @return void * @return void
*/ */
function __construct(HTMLOutputter $out, QnA_Question $question, $showQuestion = true) function __construct(HTMLOutputter $out, QnA_Question $question, $showQuestion = false)
{ {
parent::__construct($out); parent::__construct($out);
$this->question = $question; $this->question = $question;
@ -110,7 +110,7 @@ class QnanewanswerForm extends Form
} }
$out->hidden('qna-question-id', $id, 'id'); $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');
} }
/** /**