Initial commit

This commit is contained in:
Stanislav Kolotinskiy 2021-03-19 17:31:38 +02:00
commit 0cec39413f
116 changed files with 9683 additions and 0 deletions

View 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>

View file

@ -0,0 +1,16 @@
<!DOCTYPE html>
<html>
<head>
<title>Book store</title>
<meta name="viewport" content="width=device-width,initial-scale=1">
<%= csrf_meta_tags %>
<%= csp_meta_tag %>
<%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track': 'reload' %>
<%= javascript_pack_tag 'application', 'data-turbolinks-track': 'reload' %>
</head>
<body>
<%= yield %>
</body>
</html>

View file

@ -0,0 +1,13 @@
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<style>
/* Email styles need to be inline */
</style>
</head>
<body>
<%= yield %>
</body>
</html>

View file

@ -0,0 +1 @@
<%= yield %>