corrade-nucleus-nucleons – Blame information for rev 20
?pathlinks?
Rev | Author | Line No. | Line |
---|---|---|---|
20 | office | 1 | <h1>Listing Books</h1> |
2 | |||
3 | <table> |
||
4 | <tr> |
||
5 | <th>Title</th> |
||
6 | <th>Summary</th> |
||
7 | <th></th> |
||
8 | <th></th> |
||
9 | <th></th> |
||
10 | </tr> |
||
11 | |||
12 | <%= for book <- @books do %> |
||
13 | <tr> |
||
14 | <%# comment %> |
||
15 | <td><%= book.title %></td> |
||
16 | <td><%= book.content %></td> |
||
17 | <td><%= link "Show", to: book_path(@conn, :show, book) %></td> |
||
18 | <td><%= link "Edit", to: book_path(@conn, :edit, book) %></td> |
||
19 | <td><%= link "Delete", to: book_path(@conn, :delete, book), method: :delete, data: [confirm: "Are you sure?"] %></td> |
||
20 | </tr> |
||
21 | <% end %> |
||
22 | </table> |
||
23 | |||
24 | <br /> |
||
25 | |||
26 | <%= link "New book", to: book_path(@conn, :new) %> |