質問編集履歴
1
htmlの修正
test
CHANGED
File without changes
|
test
CHANGED
@@ -34,33 +34,35 @@
|
|
34
34
|
|
35
35
|
|
36
36
|
|
37
|
-
|
37
|
+
<div class='container'>
|
38
38
|
|
39
|
-
|
40
|
-
|
41
|
-
|
39
|
+
{% for item in object_list %}
|
42
40
|
|
43
41
|
<div class="card">
|
44
42
|
|
45
|
-
<
|
43
|
+
<div class="title">
|
46
44
|
|
47
|
-
<
|
45
|
+
<h5 class="card-header">{{ item.title }}</h5>
|
48
46
|
|
49
|
-
|
47
|
+
</div>
|
50
48
|
|
51
|
-
|
49
|
+
<div class ="body">
|
52
50
|
|
53
|
-
<h5 class="card-title">
|
51
|
+
<h5 class="card-title">投稿者:{{ item.author }}</h5>
|
54
52
|
|
55
|
-
<h5 class="card-title">
|
53
|
+
<h5 class="card-title">レビューが参考になった人:{{ item.useful_review }}人</h5>
|
56
54
|
|
57
|
-
|
55
|
+
</div>
|
58
56
|
|
57
|
+
<div class ="button">
|
58
|
+
|
59
|
-
<a href="{% url 'li
|
59
|
+
<a href="{% url 'detail' item.pk %}" class="btn-primary">詳しく見る</a>
|
60
60
|
|
61
61
|
</div>
|
62
62
|
|
63
63
|
</div>
|
64
|
+
|
65
|
+
{% endfor %}
|
64
66
|
|
65
67
|
</div>
|
66
68
|
|