質問編集履歴
1
htmlの全体像が分かるようにコードを追加しました
test
CHANGED
File without changes
|
test
CHANGED
@@ -32,7 +32,35 @@
|
|
32
32
|
|
33
33
|
```ここに言語名を入力
|
34
34
|
|
35
|
+
<div class="main users-index">
|
36
|
+
|
37
|
+
<div class="container">
|
38
|
+
|
39
|
+
<h1 class="users-heading">ユーザー一覧</h1>
|
40
|
+
|
41
|
+
<% @users.each do |user| %>
|
42
|
+
|
43
|
+
<div class="users-index-item">
|
44
|
+
|
45
|
+
<div class="user-left">
|
46
|
+
|
35
|
-
<img src="<%= "/user_images/#{user.image_name}" %>">
|
47
|
+
<img src="<%= "/user_images/#{user.image_name}" %>">
|
48
|
+
|
49
|
+
</div>
|
50
|
+
|
51
|
+
<div class="user-right">
|
52
|
+
|
53
|
+
<%= link_to(user.name, "/users/#{user.id}") %>
|
54
|
+
|
55
|
+
</div>
|
56
|
+
|
57
|
+
</div>
|
58
|
+
|
59
|
+
<% end %>
|
60
|
+
|
61
|
+
</div>
|
62
|
+
|
63
|
+
</div>
|
36
64
|
|
37
65
|
```
|
38
66
|
|