Commit 71056ff6 by ichuang

additional changes to make inline textinput work properly

parent afe1d706
...@@ -10,11 +10,23 @@ ...@@ -10,11 +10,23 @@
% endif % endif
> >
% elif state == 'correct': % elif state == 'correct':
<div class="correct" id="status_${id}"> <div class="correct" id="status_${id}"
% if inline:
style="display:inline"
% endif
>
% elif state == 'incorrect': % elif state == 'incorrect':
<div class="incorrect" id="status_${id}"> <div class="incorrect" id="status_${id}"
% if inline:
style="display:inline"
% endif
>
% elif state == 'incomplete': % elif state == 'incomplete':
<div class="incorrect" id="status_${id}"> <div class="incorrect" id="status_${id}"
% if inline:
style="display:inline"
% endif
>
% endif % endif
% if hidden: % if hidden:
<div style="display:none;" name="${hidden}" inputid="input_${id}" /> <div style="display:none;" name="${hidden}" inputid="input_${id}" />
......
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