2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-08-14 15:41:10 +00:00

POST the data back again

This commit is contained in:
Oliver Walters
2019-06-28 19:48:22 +10:00
parent fb96651c15
commit 58336482fe
3 changed files with 9 additions and 5 deletions

View File

@@ -25,6 +25,7 @@
<option value='{{ req }}'{% if req == col.guess %}selected='selected'{% endif %}>{{ req }}</option>
{% endfor %}
</select>
<input type='hidden' name='col_{{ forloop.counter0 }}' value='{{ col.name }}'/>
{{ col.name }}
</th>
{% endfor %}
@@ -34,8 +35,9 @@
{% for row in bom_rows %}
<tr>
<td>{% add forloop.counter 1 %}</td>
{% for item in row %}
{% for item in row.data %}
<td>
<input type='hidden' name='row_{{ row.index }}_col_{{ forloop.counter0 }}' value='{{ item }}'/>
{{ item }}
</td>
{% endfor %}