forked from GNUsocial/gnu-social
Fixed new answer textarea label
This commit is contained in:
parent
c79d90be27
commit
ee799927e6
@ -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');
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user