質問編集履歴
1
application.html.slimファイルの中身を追加
test
CHANGED
File without changes
|
test
CHANGED
@@ -34,5 +34,25 @@
|
|
34
34
|
|
35
35
|
rails -v
|
36
36
|
Rails 6.0.4.6
|
37
|
+
```ruby
|
38
|
+
doctype html
|
39
|
+
html
|
40
|
+
head
|
41
|
+
title
|
42
|
+
| ReserveRoom
|
43
|
+
= csrf_meta_tags
|
44
|
+
= csp_meta_tag
|
45
|
+
meta[name="viewport" content="width=device-width,initial-scale=1"]
|
46
|
+
= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track': 'reload'
|
47
|
+
= javascript_pack_tag 'application', 'data-turbolinks-track': 'reload'
|
48
|
+
header
|
49
|
+
- if user_signed_in?
|
50
|
+
= render 'shared/login_user_header'
|
51
|
+
- else
|
52
|
+
= render 'shared/before_header'
|
53
|
+
body
|
54
|
+
= render 'shared/flash_message'
|
55
|
+
.container
|
56
|
+
= yield
|
57
|
+
```
|
37
58
|
|
38
|
-
|