noscript action for live-coder questions
This commit is contained in:
parent
356432724b
commit
33992d73c6
@ -11,6 +11,7 @@
|
||||
<%= render partial: "quiz/answer_errors", locals: {question: question, answer: answer} %>
|
||||
|
||||
<div id="nojs<%= question.question_id %>" data-id="live-coder-finish-later">
|
||||
<noscript>
|
||||
<p class="warning">
|
||||
This is a question where you will be asked to write code, and it utilizes a JavaScript-enabled
|
||||
environment. It looks like JavaScript is not loaded.
|
||||
@ -25,6 +26,7 @@
|
||||
<%= form.check_box(:answer, checkbox_html, true, '') %>
|
||||
<%= form.label(option_id, 'I will come back later to finish this code question') %>
|
||||
<% end %>
|
||||
</noscript>
|
||||
</div>
|
||||
|
||||
<div id="answer<%= question.question_id %>" data-id="live-coder-answer" style="display: none;">
|
||||
|
@ -11,6 +11,7 @@
|
||||
<%= render partial: "quiz/answer_errors", locals: {question: question, answer: answer} %>
|
||||
|
||||
<div id="nojs<%= question.question_id %>" data-id="live-coder-finish-later">
|
||||
<noscript>
|
||||
<p class="warning">
|
||||
This is a question where you will be asked to write code, and it utilizes a JavaScript-enabled
|
||||
environment. It looks like JavaScript is not loaded.
|
||||
@ -25,6 +26,7 @@
|
||||
<%= form.check_box(:answer, checkbox_html, true, '') %>
|
||||
<%= form.label(option_id, 'I will come back later to finish this code question') %>
|
||||
<% end %>
|
||||
</noscript>
|
||||
</div>
|
||||
|
||||
<div id="answer<%= question.question_id %>" data-id="live-coder-answer" style="display: none;">
|
||||
|
Loading…
Reference in New Issue
Block a user