Sha256: 3ea19d973cb3b52753fdaaed946da570e8758d7e8227bd0440b834fc6a84e83f
Contents?: true
Size: 746 Bytes
Versions: 11
Compression:
Stored size: 746 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
11 entries across 11 versions & 1 rubygems