ebook-index/index.html.erb

28 lines
434 B
Plaintext

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<title>The Secret Book Lending Site</title>
</head>
<body>
<table>
<tr>
<th>Title</th>
<th>Author</th>
<th>Link</th>
</tr>
<% books.each do |f, b| %>
<tr>
<td><%= b.title.content %></td>
<td><%= b.creator.content %></td>
<td><a href="<%= f %>">EPUB</a></td>
</tr>
<% end %>
</table>
</body>
</html>