mirror of
https://github.com/filebrowser/filebrowser.git
synced 2025-05-09 11:42:57 +00:00

Former-commit-id: bdede6ed1b6f578f2ef046c338caf02d0b29d453 [formerly 7187de361b53e9c8ec121df379b762f2db736ea2] Former-commit-id: 447d58460fbbfd05ffe08428a1288e392637561d
26 lines
518 B
Plaintext
26 lines
518 B
Plaintext
<h1>Listing Books</h1>
|
|
|
|
<table>
|
|
<tr>
|
|
<th>Title</th>
|
|
<th>Summary</th>
|
|
<th></th>
|
|
<th></th>
|
|
<th></th>
|
|
</tr>
|
|
|
|
<% @books.each do |book| %>
|
|
<tr>
|
|
<%# comment %>
|
|
<td><%= book.title %></td>
|
|
<td><%= book.content %></td>
|
|
<td><%= link_to 'Show', book %></td>
|
|
<td><%= link_to 'Edit', edit_book_path(book) %></td>
|
|
<td><%= link_to 'Remove', book, :confirm => 'Are you sure?', :method => :delete %></td>
|
|
</tr>
|
|
<% end %>
|
|
</table>
|
|
|
|
<br />
|
|
|
|
<%= link_to 'New book', new_book_path %> |