<div id="product-edit-form">
    <form action="{% url 'ims:product_detail' code=product.code %}" method="post" enctype="multipart/form-data">
    {% csrf_token  %}
        <table id="form-table">
            <tr>
                <th>
                    <button title="generate new unique product code" id="generate-code" class="cell-left-btn report-sort" type="button" >Generate Code</button>
                </th>
                <th>
                    {% if canChange %}
                        <input title="save product information updates" class="cell-right-btn" type="submit" value="Save Product" name="Save">
                    {% endif %}
                </th>
            </tr>
             <tr>
                <th>
                    <label>
                        Modified:
                    </label>
                </th>
                <td>
                    <input readonly="readonly" value="{{ productForm.instance.modified }}">
                    <br />
                    <span class="helptext">
                        last modified on this date
                    </span>
                </td>
            </tr>
            {{ productForm }}
        </table>
    </form>
</div>
<div id="product-edit-form">
    <form action="{% url 'ims:product_detail' code=product.code %}" method="post" enctype="multipart/form-data">
    {% csrf_token  %}
        <table id="form-table">
            <tr>
                <th>
                    <button title="generate new unique product code" id="generate-code" class="cell-left-btn report-sort" type="button" >Generate Code</button>
                </th>
                <th>
                    <input title="add product to a site's inventory" class="cell-center-btn" type="submit" value="Add to Site" name="Add to Site">
                    {% if canChange %}
                        <input title="save product information updates" class="cell-right-btn" type="submit" value="Save Product" name="Save">
                    {% endif %}
                </th>
            </tr>
             <tr>
                <th>
                    <label>
                        Modified:
                    </label>
                </th>
                <td>
                    <input readonly="readonly" value="{{ productForm.instance.modified }}">
                    <br />
                    <span class="helptext">
                        last modified on this date
                    </span>
                </td>
            </tr>
            {{ productForm }}
        </table>
    </form>
</div>
Add new Add to Site button on product_detail page, so we can go directly to adding inventory to a selected site
feat: Add new Add to Site button on product_detail page, so we can go directly to adding inventory to a selected site
