mirror of
https://github.com/projekteuler/projekteuler.git
synced 2026-01-27 10:38:50 +01:00
Add problem ID to problem listing
This commit is contained in:
@@ -3,6 +3,7 @@
|
|||||||
<table>
|
<table>
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
|
<th>ID</th>
|
||||||
<th>Title</th>
|
<th>Title</th>
|
||||||
<th>Content</th>
|
<th>Content</th>
|
||||||
<th colspan="3"></th>
|
<th colspan="3"></th>
|
||||||
@@ -12,6 +13,7 @@
|
|||||||
<tbody>
|
<tbody>
|
||||||
<% @problems.each do |problem| %>
|
<% @problems.each do |problem| %>
|
||||||
<tr>
|
<tr>
|
||||||
|
<td><%= problem.id %></td>
|
||||||
<td><%= problem.title %></td>
|
<td><%= problem.title %></td>
|
||||||
<td><%= problem.content %></td>
|
<td><%= problem.content %></td>
|
||||||
<td><%= link_to 'Show', problem %></td>
|
<td><%= link_to 'Show', problem %></td>
|
||||||
|
|||||||
Reference in New Issue
Block a user