回答編集履歴

1

view を修正

2021/10/16 10:32

投稿

neko_daisuki
neko_daisuki

スコア2090

test CHANGED
@@ -30,9 +30,9 @@
30
30
 
31
31
  ```erb
32
32
 
33
- <%= form_with(model:[@group, @join_member], local: true) do |f| %>
33
+ <% @not_members.each do |member| %>
34
34
 
35
- <% @not_members.each do |member| %>
35
+ <%= form_with(model:[@group, @join_member], local: true) do |f| %>
36
36
 
37
37
  <%= f.hidden_field :member_id, value: member.id %>
38
38