質問編集履歴
1
誤字
test
CHANGED
File without changes
|
test
CHANGED
@@ -76,23 +76,23 @@
|
|
76
76
|
|
77
77
|
```ruby
|
78
78
|
|
79
|
-
<% @
|
79
|
+
<% @posts.each do |note| %>
|
80
80
|
|
81
|
-
<div class="
|
81
|
+
<div class="postsBox">
|
82
82
|
|
83
83
|
<p class="title">タイトル:</p>
|
84
84
|
|
85
|
-
<p><%=h
|
85
|
+
<p><%=h post.title %></p>
|
86
86
|
|
87
87
|
<p class="title">コンテンツ:</p>
|
88
88
|
|
89
|
-
<p><%=h
|
89
|
+
<p><%=h post.content %></p>
|
90
90
|
|
91
91
|
<p class="title">カテゴリ:</p>
|
92
92
|
|
93
93
|
#下記、<Category:0x007f989c86ab78>と表示される
|
94
94
|
|
95
|
-
<p><%=h
|
95
|
+
<p><%=h post.category %></p>
|
96
96
|
|
97
97
|
</div>
|
98
98
|
|