2020-03-11 00:04:27 +01:00
|
|
|
|
|
|
|
<script>
|
|
|
|
const answer_values = {};
|
|
|
|
</script>
|
|
|
|
|
2020-02-28 01:18:42 +01:00
|
|
|
<% @items.find_all("/quiz/*").each_with_index do |quest, i| %>
|
2020-02-27 22:45:50 +01:00
|
|
|
<div id="question_<%=i%>" class="question">
|
|
|
|
<%= render '/partials/question.*', question: quest %>
|
2020-02-27 21:16:01 +01:00
|
|
|
</div>
|
2020-02-27 20:45:15 +01:00
|
|
|
<% end %>
|
2020-02-27 21:45:34 +01:00
|
|
|
<%= yield %>
|