mirror of
https://github.com/inventree/InvenTree.git
synced 2025-08-14 23:51:08 +00:00
Pass the form field data back to the server
This commit is contained in:
@@ -19,13 +19,13 @@
|
||||
<th>Row</th>
|
||||
{% for col in bom_cols %}
|
||||
<th>
|
||||
<select class='select' id='id_col_{{ forloop.counter0 }}' name='col_{{ forloop.counter0 }}'>
|
||||
<select class='select' id='id_col_{{ forloop.counter0 }}' name='col_select_{{ forloop.counter0 }}'>
|
||||
<option value=''>---------</option>
|
||||
{% for req in req_cols %}
|
||||
<option value='{{ req }}'{% if req == col.guess %}selected='selected'{% endif %}>{{ req }}</option>
|
||||
{% endfor %}
|
||||
</select>
|
||||
<input type='hidden' name='col_{{ forloop.counter0 }}' value='{{ col.name }}'/>
|
||||
<input type='hidden' name='col_name_{{ forloop.counter0 }}' value='{{ col.name }}'/>
|
||||
{{ col.name }}
|
||||
</th>
|
||||
{% endfor %}
|
||||
|
Reference in New Issue
Block a user