teratail header banner
teratail header banner
質問するログイン新規登録

質問編集履歴

6

不要な属性値とスペース削除

2020/05/31 06:45

投稿

up24
up24

スコア41

title CHANGED
File without changes
body CHANGED
@@ -13,7 +13,7 @@
13
13
 
14
14
 
15
15
 
16
- <form action="">
16
+ <form>
17
17
  <fieldset>
18
18
  <div>
19
19
  <table>
@@ -24,8 +24,7 @@
24
24
  <li>
25
25
  <div>
26
26
  <label>
27
- <input type="radio" name="admin_select" id="follower_select"
27
+ <input type="radio" name="admin_select" id="follower_select" value="admin_master" checked="checked">
28
- value="admin_master" checked="checked">
29
28
  <span>ジャンル1</span>
30
29
  </label>
31
30
  </div>
@@ -33,8 +32,7 @@
33
32
  <li>
34
33
  <div>
35
34
  <label>
36
- <input type="radio" name="admin_select" id="admin_select"
35
+ <input type="radio" name="admin_select" id="admin_select" value="admin_follower">
37
- value="admin_follower">
38
36
  <span>ジャンル2</span>
39
37
  </label>
40
38
  </div>
@@ -50,8 +48,7 @@
50
48
  <span>Good!</span>
51
49
  </label>
52
50
  <label>
53
- <input type="radio" name="sub_follower_flag" id="follower_select_individual"
51
+ <input type="radio" name="sub_follower_flag" id="follower_select_individual" value="individual" checked="checked">
54
- value="individual" checked="checked">
55
52
  <span>Bad</span>
56
53
  </label>
57
54
  </div>
@@ -74,7 +71,6 @@
74
71
  <button type="button">消す</button>
75
72
  </div>
76
73
  </div>
77
-
78
74
  </td>
79
75
  </tr>
80
76
  </tbody>

5

不要なスペース削除

2020/05/31 06:44

投稿

up24
up24

スコア41

title CHANGED
File without changes
body CHANGED
@@ -17,11 +17,8 @@
17
17
  <fieldset>
18
18
  <div>
19
19
  <table>
20
-
21
-
22
20
  <tbody>
23
21
  <tr>
24
-
25
22
  <td>
26
23
  <ul>
27
24
  <li>
@@ -45,11 +42,7 @@
45
42
  </ul>
46
43
  </td>
47
44
  </tr>
48
-
49
-
50
-
51
45
  <tr>
52
-
53
46
  <td>
54
47
  <div class="js-check-all-follower text-left form-radio--nolabel">
55
48
  <label>
@@ -61,11 +54,8 @@
61
54
  value="individual" checked="checked">
62
55
  <span>Bad</span>
63
56
  </label>
57
+ </div>
64
58
 
65
-
66
-
67
- </div>
68
-
69
59
  <div class="input-form__select-wrapper js-select-follower" style="">
70
60
  <div>
71
61
  <select name="sub_follower_ids[]" style="color: rgb(0, 0, 0);">
@@ -87,9 +77,6 @@
87
77
 
88
78
  </td>
89
79
  </tr>
90
-
91
-
92
-
93
80
  </tbody>
94
81
  </table>
95
82
  </div>

4

不要なクラスを削除

2020/05/31 06:43

投稿

up24
up24

スコア41

title CHANGED
File without changes
body CHANGED
@@ -10,75 +10,93 @@
10
10
 
11
11
 
12
12
  ```HTML
13
+
14
+
15
+
13
- <form class="input-form" action="">
16
+ <form action="">
14
- <fieldset>
17
+ <fieldset>
18
+ <div>
15
- <div class="table-responsive mb-3 mb-md-4">
19
+ <table>
16
- <table class="table table--02 text-nowrap">
20
+
21
+
17
- <tbody>
22
+ <tbody>
18
- <tr>
23
+ <tr>
24
+
25
+ <td>
26
+ <ul>
27
+ <li>
28
+ <div>
19
- <td class="text text-left">
29
+ <label>
20
- <ul class="d-flex justify-content-start align-items-center">
21
- <li class="list-style-none d-flex justify-content-start align-items-center mb-2 mr-5">
22
- <div class="form-group form-radio--nolabel text-center text--btn--radio">
23
- <label class="d-flex align-items-center">
24
- <input type="radio" name="admin_select" id="follower_select"
30
+ <input type="radio" name="admin_select" id="follower_select"
25
- value="admin_master" checked="checked">
31
+ value="admin_master" checked="checked">
32
+ <span>ジャンル1</span>
33
+ </label>
34
+ </div>
35
+ </li>
36
+ <li>
37
+ <div>
38
+ <label>
39
+ <input type="radio" name="admin_select" id="admin_select"
40
+ value="admin_follower">
41
+ <span>ジャンル2</span>
42
+ </label>
43
+ </div>
44
+ </li>
45
+ </ul>
46
+ </td>
47
+ </tr>
48
+
49
+
50
+
51
+ <tr>
52
+
53
+ <td>
26
- <span class="p-0 d-flex align-items-center">ジャンル1</span>
54
+ <div class="js-check-all-follower text-left form-radio--nolabel">
55
+ <label>
56
+ <input type="radio" name="sub_follower_flag" id="follower_select_all" value="all">
57
+ <span>Good!</span>
27
58
  </label>
28
- </div>
29
- </li>
30
- <li class="list-style-none d-flex justify-content-start align-items-center mb-2 mr-5">
31
- <div class="form-group form-radio--nolabel text-center text--btn--radio">
32
59
  <label>
33
- <input type="radio" name="admin_select" id="admin_select"
60
+ <input type="radio" name="sub_follower_flag" id="follower_select_individual"
34
- value="admin_follower">
61
+ value="individual" checked="checked">
35
- <span class="p-0 d-flex align-items-center">ジャンル2</span>
62
+ <span>Bad</span>
36
63
  </label>
64
+
65
+
66
+
37
67
  </div>
38
- </li>
39
- </ul>
40
- </td>
41
- </tr>
42
- <tr id="group_row">
43
- <td class="text h-100">
44
- <div class="form-group mb-2 mt-2 js-check-all-follower text-left form-radio--nolabel">
45
- <label class="d-flex align-items-center mb-4">
46
- <input type="radio" name="sub_follower_flag" id="follower_select_all" value="all">
47
- <span class="d-flex align-items-center pl-4">Good!</span>
48
- </label>
49
- <label class="d-flex align-items-center pb-2">
50
- <input type="radio" name="sub_follower_flag" id="follower_select_individual"
51
- value="individual" checked="checked">
52
- <span class="d-flex align-items-center pl-4">Bad</span>
53
- </label>
54
- </div>
55
- <div class="input-form__select-wrapper js-select-follower" style="">
56
- <div class="input-form__select mb-2">
57
- <select name="sub_follower_ids[]" style="color: rgb(0, 0, 0);">
58
- <option value="" selected>理由</option>
59
- <option value="a">()</option>
60
- <option value="b">候補A
61
- </option>
62
- <option value="c">候補B </option>
63
- <option value="d">候補C </option>
64
68
 
69
+ <div class="input-form__select-wrapper js-select-follower" style="">
70
+ <div>
71
+ <select name="sub_follower_ids[]" style="color: rgb(0, 0, 0);">
72
+ <option value="" selected>理由</option>
73
+ <option value="a">()</option>
74
+ <option value="b">候補A
75
+ </option>
76
+ <option value="c">候補B </option>
77
+ <option value="d">候補C </option>
78
+
65
- <option value="e">候補D</option>
79
+ <option value="e">候補D</option>
66
- <option value="f">候補E
80
+ <option value="f">候補E
67
- </option>
81
+ </option>
68
- </select> </div>
82
+ </select> </div>
69
- <div class="button--detail js-delete-follower" style="display: none;">
83
+ <div class="button--detail js-delete-follower" style="display: none;">
70
- <button type="button">消す</button>
84
+ <button type="button">消す</button>
71
- </div>
85
+ </div>
72
- </div>
86
+ </div>
73
87
 
74
- </td>
88
+ </td>
75
- </tr>
89
+ </tr>
76
- </tbody>
77
- </table>
78
- </div>
79
- </fieldset>
80
- </form>
81
90
 
91
+
92
+
93
+ </tbody>
94
+ </table>
95
+ </div>
96
+ </fieldset>
97
+ </form>
98
+
99
+
82
100
  ```
83
101
 
84
102
  ```jquery

3

文章編集

2020/05/31 06:41

投稿

up24
up24

スコア41

title CHANGED
File without changes
body CHANGED
@@ -1,7 +1,7 @@
1
1
  プルダウンを選択することで
2
2
  プルダウンをクローンしています。
3
3
  ジャンル2のラジオボタンをチェックした場合のみ
4
- プルダウンで選択はできるが、プルダウンと消すボタンを新たに作らないようにしたいです。
4
+ プルダウンで選択、プルダウンと消すボタンを新たに作らないようにしたいです。
5
5
 
6
6
  コメントアウト「ジャンル2を選択した場合にプルダウンを選択しても、
7
7
  プルダウンをクローンしない」の下方「クローンを初期化して追加」のあたりに

2

タイトルを具体的に

2020/05/31 06:37

投稿

up24
up24

スコア41

title CHANGED
@@ -1,1 +1,1 @@
1
- イベントのキャンセ
1
+ ダウンを複製させないようにするには
body CHANGED
File without changes

1

プルダウンと消すボタンを新たに作らないように を追加

2020/05/31 06:36

投稿

up24
up24

スコア41

title CHANGED
File without changes
body CHANGED
@@ -1,7 +1,7 @@
1
1
  プルダウンを選択することで
2
2
  プルダウンをクローンしています。
3
3
  ジャンル2のラジオボタンをチェックした場合のみ
4
- プルダウンで選択してもプルダウンと消すボタンを作らないようにしたいです。
4
+ プルダウンで選択はできるが、プルダウンと消すボタンを新たに作らないようにしたいです。
5
5
 
6
6
  コメントアウト「ジャンル2を選択した場合にプルダウンを選択しても、
7
7
  プルダウンをクローンしない」の下方「クローンを初期化して追加」のあたりに