質問編集履歴

1

理想のHTML

2019/06/25 20:10

投稿

HirakuMorishima
HirakuMorishima

スコア29

test CHANGED
File without changes
test CHANGED
@@ -159,3 +159,35 @@
159
159
  });
160
160
 
161
161
  ```
162
+
163
+
164
+
165
+ ##追記
166
+
167
+ 最終的に以下のようなHTMLができることが理想です。
168
+
169
+ ```php
170
+
171
+ <form method="POST" action="/toAddInvoice/{{$val->id}}" id="clients_form">
172
+
173
+ <div class="input-field col s12">
174
+
175
+ <select id="client_id" class="select" name="client_id" onchange="submit(this.form)">
176
+
177
+ <option value="" disabled selected>クライアントを選んでください。</option>
178
+
179
+ <option value="1">クライアント1</option>
180
+
181
+ <option value="2">クライアント2</option>
182
+
183
+ <option value="3">クライアント3</option>
184
+
185
+ </select>
186
+
187
+ <label for="client_id">クライアント</label>
188
+
189
+ </div>
190
+
191
+ </form>
192
+
193
+ ```