Skip to content

Commit 9c8a5bc

Browse files
committed
fix next question placement/style
1 parent 5fe135c commit 9c8a5bc

1 file changed

Lines changed: 9 additions & 10 deletions

File tree

bases/rsptx/web2py_server/applications/runestone/views/peer/peer_async.html

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,15 @@ <h3>Congratulations, you have completed this assignment!</h3>
105105
</div>
106106
</div>
107107
{{pass}}
108+
{{ if all_done == "false": }}
109+
<div class="col-md-12" style="text-align: right; margin-top: 10px; margin-bottom: 20px;">
110+
<form action="/peer/peer_async" style="display: inline;">
111+
<input type="hidden" name="assignment_id" value="{{=assignment_id}}" />
112+
<input type="hidden" name="question_num" value="{{=nextQnum}}" />
113+
<button type="submit" onclick="return checkVoteCount()" class="btn btn-default">Next Question</button>
114+
</form>
115+
</div>
116+
{{ pass }}
108117
</div>
109118
{{ if has_vote1 and has_reflection and llm_reply: }}
110119
<hr>
@@ -113,16 +122,6 @@ <h3>Congratulations, you have completed this assignment!</h3>
113122
<p>{{=llm_reply}}</p>
114123
</div>
115124
{{ pass }}
116-
117-
{{ if all_done == "false": }}
118-
<div>
119-
<form action="/peer/peer_async">
120-
<input type="hidden" name="assignment_id" value="{{=assignment_id}}" />
121-
<input type="hidden" name="question_num" value="{{=nextQnum}}" />
122-
<button type="submit" onclick="return checkVoteCount()" style="float: right; margin-bottom: 20px;">Next Question</button>
123-
</form>
124-
</div>
125-
{{ pass }}
126125
<script>
127126
window.DISABLE_ASYNC_EXPLAINER = true;
128127
</script>

0 commit comments

Comments
 (0)