Fix label removing issue

This commit is contained in:
cuigh 2017-10-20 16:41:22 +08:00
parent a4ad885258
commit a33c5871c6

View File

@ -53,10 +53,10 @@
<tbody> <tbody>
{{if items}} {{if items}}
{{ i := 0 }} {{ i := 0 }}
{{range n, v := items}} {{range k, v := items}}
<tr> <tr>
<td> <td>
<input name="{{name}}s[{{i}}].name" class="input is-small" type="text" value="{{n}}"> <input name="{{name}}s[{{i}}].name" class="input is-small" type="text" value="{{k}}">
</td> </td>
<td> <td>
<input name="{{name}}s[{{i}}].value" class="input is-small" type="text" value="{{v}}"> <input name="{{name}}s[{{i}}].value" class="input is-small" type="text" value="{{v}}">