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>
{{if items}}
{{ i := 0 }}
{{range n, v := items}}
{{range k, v := items}}
<tr>
<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>
<input name="{{name}}s[{{i}}].value" class="input is-small" type="text" value="{{v}}">