

<input type="hidden" id="table_name_model" name="table_name_model" value="{$tableName}"/>
<input type="hidden" id="col_name_model" name="col_name_model" value="{$colName}"/>
<input type="hidden" id="filter_input" name="filter_input" value="{$filter_input}"/>

<table cellspacing="10" width="100%" id="dtAddTbl">
    <thead>
        <tr>
            <th>Name</th>
            <th class="wds10">Delete</th>
        </tr>
    </thead>
    {assign var=i value=1}
    {foreach $all_data as $single_item}
    <tr>
        <td>
            <input type="text" class="form-control"  id="input-update-model" data-id="{$single_item->id}" name="input-update-value" value='{$single_item->name}'>
        </td>
        <td>
            <a href="javascript:" class="btn  btn-xs red remove-element-model wds100"  data-id="{$single_item->id}"
               data-tableName="{$tableName}" > <i class="fa fa-times" ></i>
            </a>
        </td>
    </tr>

    {capture assign=i}{$i+1}{/capture}
    {/foreach}

</table>
