app/views/antispam/challenges/index.html.erb in antispam-0.2.0 vs app/views/antispam/challenges/index.html.erb in antispam-0.2.3
- old
+ new
@@ -1,31 +1,31 @@
-<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 %>
+<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 %>