Sha256: cc06635571b74a92dd4f5732a6c114bfb1e4ec5e030e750a9f992a8a50aa184a
Contents?: true
Size: 715 Bytes
Versions: 8
Compression:
Stored size: 715 Bytes
Contents
<p id="notice"><%= notice %></p> <h1>Challenges</h1> <table> <thead> <tr> <th>Question</th> <th>Answer</th> <th>Code</th> <th colspan="3"></th> </tr> </thead> <tbody> <% @challenges.each do |challenge| %> <tr> <td><%= challenge.question %></td> <td><%= challenge.answer %></td> <td><%= challenge.code %></td> <td><%= link_to 'Show', challenge %></td> <td><%= link_to 'Edit', edit_challenge_path(challenge) %></td> <td><%= link_to 'Destroy', challenge, method: :delete, data: { confirm: 'Are you sure?' } %></td> </tr> <% end %> </tbody> </table> <br> <%= link_to 'New Challenge', new_challenge_path %>
Version data entries
8 entries across 8 versions & 1 rubygems