QnA - Work on getting questions and answers to appear correctly inline

This commit is contained in:
Zach Copley
2011-04-12 02:22:47 -07:00
parent 9346d50102
commit 6bf29ff684
7 changed files with 325 additions and 26 deletions

View File

@@ -119,6 +119,15 @@ class QnashowquestionForm extends Form
'id'
);
$this->out->hidden(
'answer-action',
common_local_url(
'qnanewanswer',
null,
array('id' => 'question-' . $this->question->id)
)
);
$this->out->raw($this->question->asHTML());
}