POST the stock adjustment method back as a hidden form input

This commit is contained in:
Oliver Walters 2019-06-02 11:15:12 +10:00
parent 1b7762470d
commit 0b54baf6db

View File

@ -5,6 +5,8 @@
<form method="post" action='' class='js-modal-form' enctype="multipart/form-data">
{% csrf_token %}
{% load crispy_forms_tags %}
<input type='hidden' name='stock_action' value='{{ stock_action }}'/>
<table class='table table-condensed table-striped' id='stock-table'>
<tr>