Guest User

Untitled

a guest
May 24th, 2018
88
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.44 KB | None | 0 0
  1. <%= javascript_include_tag "missed_chars.js" %>
  2. <% @exercise.exercise_items.each_index do |index| %>
  3. <div class="missed_chars_problem" id="problem_<%= index %>">
  4. <% qa = @exercise.exercise_items[index].question_and_answers %>
  5. <%= qa["question"] %>
  6. </div>
  7. <script type="text/javascript" charset="utf-8">
  8. add_question(<%= index %>, <%= qa['question_length'] %>, <%= generateJavaScriptArray(qa["answers"]) %>);
  9. </script>
  10. <% end %>
Add Comment
Please, Sign In to add comment