Newer
Older
rails-otp-try / CPM-program / app / views / quiz_responses / show.html.erb
@ItoRino ItoRino on 1 Dec 403 bytes add
<html>
<head>
  <title>Quiz Button Count</title>
  <meta name="csrf-token" content="<%= form_authenticity_token %>">
  <!-- quiz_page.jsの読み込み -->
  <script src="/javascripts/timer.js"></script>
  <%= javascript_include_tag 'timer' %>
</head>
<body>
<!-- クイズのコンテンツ -->
<button id="clickButton">Click me!</button>
<p id="clickCount">Click count: 0</p>
</script>
</body>
</html>