質問編集履歴
1
viewの追加
test
CHANGED
File without changes
|
test
CHANGED
@@ -50,7 +50,29 @@
|
|
50
50
|
|
51
51
|
```
|
52
52
|
|
53
|
+
```html
|
53
54
|
|
55
|
+
.user-addPage
|
56
|
+
|
57
|
+
.user-addPage__header
|
58
|
+
|
59
|
+
%h1 友達を追加する
|
60
|
+
|
61
|
+
= link_to "トップページに戻る", :back, class: 'button'
|
62
|
+
|
63
|
+
%ul.user-addPage__lists
|
64
|
+
|
65
|
+
- @users.each do |user|
|
66
|
+
|
67
|
+
%li.user-list
|
68
|
+
|
69
|
+
= user.name
|
70
|
+
|
71
|
+
.add-btn{"data-user-name": user.name}
|
72
|
+
|
73
|
+
.user-add 追加する
|
74
|
+
|
75
|
+
```
|
54
76
|
|
55
77
|
```ruby
|
56
78
|
|