mirror of
https://github.com/projekteuler/projekteuler.git
synced 2025-12-10 08:46:41 +01:00
Add problem ID to problem listing
This commit is contained in:
parent
a257aeecb1
commit
5130a431da
@ -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>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user