質問編集履歴

3

質問内容の修正

2019/02/22 11:18

投稿

退会済みユーザー
test CHANGED
File without changes
test CHANGED
@@ -59,3 +59,17 @@
59
59
  });
60
60
 
61
61
  ```
62
+
63
+
64
+
65
+ remove ボタンはこれです
66
+
67
+ ```
68
+
69
+ <%= link_to_remove_association f, class: 'btn btn-default' do %>
70
+
71
+ <span class="glyphicon glyphicon-remove" aria-hidden="true"></span>
72
+
73
+ <% end %>
74
+
75
+ ```

2

質問内容の修正

2019/02/22 11:18

投稿

退会済みユーザー
test CHANGED
File without changes
test CHANGED
@@ -22,7 +22,7 @@
22
22
 
23
23
  (以下のコードで console.log が insert 時しか表示されない)
24
24
 
25
- 表示自体は消えるので remove 自体は動いています
25
+ JSのエラーもなく表示自体は消えるので remove 自体は動いています
26
26
 
27
27
  before-remove にしてもとんできません
28
28
 

1

質問内容の修正

2019/02/22 11:16

投稿

退会済みユーザー
test CHANGED
File without changes
test CHANGED
@@ -23,6 +23,8 @@
23
23
  (以下のコードで console.log が insert 時しか表示されない)
24
24
 
25
25
  表示自体は消えるので remove 自体は動いています
26
+
27
+ before-remove にしてもとんできません
26
28
 
27
29
  原因がわかる方いないでしょうか
28
30