質問編集履歴
1
aplication.html.erbのコードを追記しました。
test
CHANGED
File without changes
|
test
CHANGED
@@ -26,7 +26,7 @@
|
|
26
26
|
|
27
27
|
```ruby
|
28
28
|
|
29
|
-
index.erb
|
29
|
+
post.index.erb
|
30
30
|
|
31
31
|
|
32
32
|
|
@@ -88,6 +88,60 @@
|
|
88
88
|
|
89
89
|
```
|
90
90
|
|
91
|
+
```ruby
|
92
|
+
|
93
|
+
aplication.html.erb
|
94
|
+
|
95
|
+
|
96
|
+
|
97
|
+
|
98
|
+
|
99
|
+
<!DOCTYPE html>
|
100
|
+
|
101
|
+
<html>
|
102
|
+
|
103
|
+
<head>
|
104
|
+
|
105
|
+
<meta charset="utf-8">
|
106
|
+
|
107
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0, shrink-to-fit=no">
|
108
|
+
|
109
|
+
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css" integrity="sha384-JcKb8q3iqJ61gNV9KGb8thSsNjpSL0n8PARn9HuZOnIxN0hoP+VmmDGMN5t9UJ0Z" crossorigin="anonymous">
|
110
|
+
|
111
|
+
<title>WeCamp</title>
|
112
|
+
|
113
|
+
<%= csrf_meta_tags %>
|
114
|
+
|
115
|
+
<%= csp_meta_tag %>
|
116
|
+
|
117
|
+
<%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track': 'reload' %>
|
118
|
+
|
119
|
+
<%= javascript_pack_tag 'application', 'data-turbolinks-track': 'reload' %>
|
120
|
+
|
121
|
+
<link href="https://fonts.googleapis.com/css?family=Noto+Sans+JP:400,700,900&display=swap" rel="stylesheet">
|
122
|
+
|
123
|
+
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@4.6.0/dist/css/bootstrap.min.css" integrity="sha384-B0vP5xmATw1+K9KRQjQERJvTumQW0nPEzvF6L/Z6nronJ3oUOFUFpCjEUQouq2+l" crossorigin="anonymous">
|
124
|
+
|
125
|
+
</head>
|
126
|
+
|
127
|
+
|
128
|
+
|
129
|
+
<body>
|
130
|
+
|
131
|
+
<%= yield %>
|
132
|
+
|
133
|
+
<script src="https://code.jquery.com/jquery-3.5.1.slim.min.js" integrity="sha384-DfXdz2htPH0lsSSs5nCTpuj/zy4C+OGpamoFVy38MVBnE+IbbVYUew+OrCXaRkfj" crossorigin="anonymous"></script>
|
134
|
+
|
135
|
+
<script src="https://cdn.jsdelivr.net/npm/popper.js@1.16.1/dist/umd/popper.min.js" integrity="sha384-9/reFTGAW83EW2RDu2S0VKaIzap3H66lZH81PoYlFhbGU+6BZp6G7niu735Sk7lN" crossorigin="anonymous"></script>
|
136
|
+
|
137
|
+
<script src="https://cdn.jsdelivr.net/npm/bootstrap@4.6.0/dist/js/bootstrap.min.js" integrity="sha384-+YQ4JLhjyBLPDQt//I+STsc9iw4uQqACwlvpslubQzn4u2UU2UFM80nGisd026JF" crossorigin="anonymous"></script>
|
138
|
+
|
139
|
+
</body>
|
140
|
+
|
141
|
+
</html>
|
142
|
+
|
143
|
+
```
|
144
|
+
|
91
145
|
|
92
146
|
|
93
147
|
### 試したこと
|
@@ -95,6 +149,8 @@
|
|
95
149
|
|
96
150
|
|
97
151
|
bootstrap公式サイトのテンプレートを確認しながら記述いたしました。
|
152
|
+
|
153
|
+
eachを記述する順番などいろいろ変えてみましたが、上手くいきません。
|
98
154
|
|
99
155
|
|
100
156
|
|