
<table class="table table-bordered">
    <thead>
        <tr>
            <th>
                Supply 
            </th>
            <th class="wds20">
                Supplies No
            </th>
        </tr>
    </thead>
    <tbody>
        {foreach $supplies as $row}
        <tr>
            <td>{$row->name}</td>
            <td>
                <input type="text" class="form-control"   name="supply_no{$row->id}"    value="0">
            </td>
        </tr>
        {/foreach}
    </tbody>
</table>