Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
edx-platform
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
edx
edx-platform
Commits
25b6db76
Commit
25b6db76
authored
Jul 19, 2012
by
Arjun Singh
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Replacing startouttext/endouttext with text in examples.
parent
c87f9cd5
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
common/lib/capa/capa/responsetypes.py
+5
-5
No files found.
common/lib/capa/capa/responsetypes.py
View file @
25b6db76
...
...
@@ -294,13 +294,13 @@ class ChoiceResponse(LoncapaResponse):
<choiceresponse>
<radiogroup>
<choice correct="false">
<
startouttext />This is a wrong answer.<endouttext /
>
<
text>This is a wrong answer.</text
>
</choice>
<choice correct="true">
<
startouttext />This is the right answer.<endouttext /
>
<
text>This is the right answer.</text
>
</choice>
<choice correct="false">
<
startouttext />This is another wrong answer.<endouttext /
>
<
text>This is another wrong answer.</text
>
</choice>
</radiogroup>
</choiceresponse>
...
...
@@ -558,13 +558,13 @@ class CustomResponse(LoncapaResponse):
or in a <script>...</script>
'''
snippets
=
[{
'snippet'
:
'''<customresponse>
<
startouttext/
>
<
text
>
<br/>
Suppose that
\
(I(t)
\
) rises from
\
(0
\
) to
\
(I_S
\
) at a time
\
(t_0
\n
eq 0
\
)
In the space provided below write an algebraic expression for
\
(I(t)
\
).
<br/>
<textline size="5" correct_answer="IS*u(t-t0)" />
<
endouttext/
>
<
/text
>
<answer type="loncapa/python">
correct=['correct']
try:
...
...
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