Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
P
problem-builder
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
OpenEdx
problem-builder
Commits
9cf8b120
Commit
9cf8b120
authored
Sep 11, 2014
by
David Gabor BODOR
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add documentation for `<answer>` question element.
parent
22b300a9
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
4 deletions
+5
-4
README.md
+5
-4
No files found.
README.md
View file @
9cf8b120
...
...
@@ -144,16 +144,17 @@ answer element supports the following attributes:
question. The answer is rendered as a HTML quote instead of a
textarea element (boolean; defaults to
`false`
).
It can also have a
`<question>`
element containing a paragraph of non-formatted plain text.
#### Example
Here is a simple example of a free-form question:
```
xml
<mentoring
url_name=
"goal_definition"
followed_by=
"getting_feedback"
weight=
"20"
>
<html>
<p>
What is your goal?
</p>
</html>
<answer
name=
"goal"
weight=
"10"
/>
<answer
name=
"goal"
weight=
"10"
>
<question>
What is your goal?
</question>
</answer>
</mentoring>
```
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment