<script type="text/template" id="userListTemplate">
    <input type="hidden" class="user-id" value="<%= id %>">
{{--    <td>--}}
{{--        <div class="icheck-material-primary">--}}
{{--            <input type="checkbox" id="checkbox_<%= id %>" class="bulkRow" />--}}
{{--            <label for="checkbox_<%= id %>"></label>--}}
{{--        </div>--}}
{{--    </td>--}}
    <td><%= name %></td>
    <td><%= email %></td>
    <td><%= phone %></td>
    <td><%= reg_number %></td>
    <td>
        <select <% if(status == 1) { %> class="confirmed-st update_user_status" <% } %> <% if(status == 2) { %> class="declined-st update_user_status" <% } %> ">
            <option value="1" <% if(status == 1) { %> selected <% } %> >Active</option>
            <option value="2" <% if(status == 2) { %> selected <% } %> >Inactive</option>
        </select>
    </td>
    <td><a target="_blank" href="/<%= logo %>">View</a></td>
    <td><a target="_blank" href="/<%= rera_licence %>">View</a></td>
    <td><a target="_blank" href="/<%= broker_card %>">View</a></td>
    <td><a target="_blank" href="/<%= owner_id %>">View</a></td>
    <td>
        <button type="button" class="btn btn-primary edit-btn"><i class="fa fa-edit"></i> Edit</button>
        <button type="button" class="btn btn-danger delete-btn"><i class="fa fa-trash"></i> Delete</button>
    </td>
</script>
