Initial commit
This commit is contained in:
commit
0cec39413f
116 changed files with 9683 additions and 0 deletions
17
app/views/books/index.html.erb
Normal file
17
app/views/books/index.html.erb
Normal file
|
@ -0,0 +1,17 @@
|
|||
<div class='container'>
|
||||
<% @books.each do |book| %>
|
||||
<div class='row'>
|
||||
<div class='col s4'>
|
||||
Title: <%= book.title %>
|
||||
</div>
|
||||
|
||||
<div class='col s4'>
|
||||
Price: <%= book.price %>
|
||||
</div>
|
||||
|
||||
<div class='col s4'>
|
||||
Authors: <%= book.authors %>
|
||||
</div>
|
||||
</div>
|
||||
<% end %>
|
||||
</div>
|
Loading…
Add table
Add a link
Reference in a new issue