<script type="text/template" id="adminsListTemplate">
    <input type="hidden" class="admin-id" value="<%= id %>" data-pro-email="<%= email %>">
{{--    <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>
        <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>
        <%= (last_login) ? moment(last_login).format("DD/MM/YYYY, h:mm:ss") : '' %>
    </td>
    <td>
{{--        <button type="button" class="btn btn-warning email-btn"><i class="fa fa-envelope"></i> Email</button>--}}
        <button type="button" class="btn btn-primary edit-btn"><i class="fa fa-edit"></i> Edit</button>
{{--        <button type="button" class="btn btn-gradient-meridian roles-btn"><i class="fa fa-lock"></i> Roles (<%= roles.length %>)</button>--}}
        <button type="button" class="btn btn-danger delete-btn"><i class="fa fa-trash"></i> Delete</button>
    </td>
</script>
