質問編集履歴
1
index内の記述を追加致しました。
test
CHANGED
File without changes
|
test
CHANGED
@@ -275,3 +275,27 @@
|
|
275
275
|
@events = Event.all
|
276
276
|
|
277
277
|
```
|
278
|
+
|
279
|
+
### 補足情報
|
280
|
+
|
281
|
+
↓index.html.erb
|
282
|
+
|
283
|
+
```Ruby
|
284
|
+
|
285
|
+
<div class="wrapper">
|
286
|
+
|
287
|
+
<div class="side-bar">
|
288
|
+
|
289
|
+
<%= render "side_bar" %>
|
290
|
+
|
291
|
+
</div>
|
292
|
+
|
293
|
+
<div class="event">
|
294
|
+
|
295
|
+
<%= render "main_event" %>
|
296
|
+
|
297
|
+
</div>
|
298
|
+
|
299
|
+
</div>
|
300
|
+
|
301
|
+
```
|