1
0
mirror of https://github.com/projekteuler/projekteuler.git synced 2025-12-10 00:36:42 +01:00

Add problem ID to problem listing

This commit is contained in:
Philipp Fischbeck 2014-12-01 17:28:34 +01:00
parent a257aeecb1
commit 5130a431da

View File

@ -3,6 +3,7 @@
<table>
<thead>
<tr>
<th>ID</th>
<th>Title</th>
<th>Content</th>
<th colspan="3"></th>
@ -12,6 +13,7 @@
<tbody>
<% @problems.each do |problem| %>
<tr>
<td><%= problem.id %></td>
<td><%= problem.title %></td>
<td><%= problem.content %></td>
<td><%= link_to 'Show', problem %></td>