Commit c93b8076 by Diana Huang

Add trailing text to textlines, most useful for units.

parent 734b169e
...@@ -483,6 +483,7 @@ class TextLine(InputTypeBase): ...@@ -483,6 +483,7 @@ class TextLine(InputTypeBase):
Attribute('dojs', None, render=False), Attribute('dojs', None, render=False),
Attribute('preprocessorClassName', None, render=False), Attribute('preprocessorClassName', None, render=False),
Attribute('preprocessorSrc', None, render=False), Attribute('preprocessorSrc', None, render=False),
Attribute('trailing_text', ''),
] ]
def setup(self): def setup(self):
......
...@@ -31,6 +31,9 @@ ...@@ -31,6 +31,9 @@
style="display:none;" style="display:none;"
% endif % endif
/> />
% if trailing_text:
${trailing_text}
% endif
<p class="status"> <p class="status">
% if status == 'unsubmitted': % if status == 'unsubmitted':
......
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