Commit 9cf8b120 by David Gabor BODOR

Add documentation for `<answer>` question element.

parent 22b300a9
...@@ -144,16 +144,17 @@ answer element supports the following attributes: ...@@ -144,16 +144,17 @@ answer element supports the following attributes:
question. The answer is rendered as a HTML quote instead of a question. The answer is rendered as a HTML quote instead of a
textarea element (boolean; defaults to `false`). textarea element (boolean; defaults to `false`).
It can also have a `<question>` element containing a paragraph of non-formatted plain text.
#### Example #### Example
Here is a simple example of a free-form question: Here is a simple example of a free-form question:
```xml ```xml
<mentoring url_name="goal_definition" followed_by="getting_feedback" weight="20"> <mentoring url_name="goal_definition" followed_by="getting_feedback" weight="20">
<html> <answer name="goal" weight="10">
<p>What is your goal?</p> <question>What is your goal?</question>
</html> </answer>
<answer name="goal" weight="10"/>
</mentoring> </mentoring>
``` ```
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment