質問編集履歴
1
理想のHTML
title
CHANGED
|
File without changes
|
body
CHANGED
|
@@ -78,4 +78,20 @@
|
|
|
78
78
|
->on('users')
|
|
79
79
|
->onDelete('cascade');
|
|
80
80
|
});
|
|
81
|
+
```
|
|
82
|
+
|
|
83
|
+
##追記
|
|
84
|
+
最終的に以下のようなHTMLができることが理想です。
|
|
85
|
+
```php
|
|
86
|
+
<form method="POST" action="/toAddInvoice/{{$val->id}}" id="clients_form">
|
|
87
|
+
<div class="input-field col s12">
|
|
88
|
+
<select id="client_id" class="select" name="client_id" onchange="submit(this.form)">
|
|
89
|
+
<option value="" disabled selected>クライアントを選んでください。</option>
|
|
90
|
+
<option value="1">クライアント1</option>
|
|
91
|
+
<option value="2">クライアント2</option>
|
|
92
|
+
<option value="3">クライアント3</option>
|
|
93
|
+
</select>
|
|
94
|
+
<label for="client_id">クライアント</label>
|
|
95
|
+
</div>
|
|
96
|
+
</form>
|
|
81
97
|
```
|