# Find <script> children, turn them into script content.
forchildinnode:
ifchild.tag=="script":
block.script+=child.text
else:
block.runtime.add_node_as_child(block,child)
returnblock
def_TODO_student_view(self,context):
"""
Create a fragment used to display the XBlock to a student.
`context` is a dictionary used to configure the display (unused)
...
...
@@ -58,7 +75,30 @@ class MentoringBlock(XBlock):
("mentoring",
"""\
<vertical>
<mentoring prompt="What is your answer?" />
<mentoring>
<html>
<h3>Pre-Goal Brainstrom</h3>
<p>What goals are you considering working on? Before choosing your goal, it’s helpful to do some reflection exercises.</p>
<p>Think about what would you most like to get better at, or improve upon. The goal you choose to work on during the course--</p>
<ul>
<li>should be a “personal growth” goal vs. a “therapy goal”—e.g., ‘to be more decisive,’ ‘to be a better listener,’ ‘to speak up more,’ “to be more spontaneous,’ ‘to be better organized,’ ‘to be less critical.’ Not: ‘to get over my depression,’ ‘come to terms with my parents’ divorce,’ ‘work through a trauma.’</li>
<li>should be something you’ve tried to succeed at in the past, but have not made the progress you wanted (or the progress has been too temporary) [this will almost ensure you are picking an ‘adaptive’ vs. a ‘technical’ improvement goal]</li>
<li>should matter to you enough that you will want to stay connected to it throughout the course, but should not feel so sensitive or raw that you would be uncomfortable sharing it with the members of your online section (if you choose to do so). The teaching team will always be able to see your diary.</li>
<li>Do not edit yourself at this point. There are no wrong answers. Use this space to brainstorm.</li>