<script type="text/template" id="leadSourcesListTemplate">
    <input type="hidden" class="leadSource-id" value="<%= id %>">
    <td><%= name %></td>
    <td>
        <% if(is_primary === 1) { %>
            Primary
        <% } %>
        <% if(is_primary === 2) { %>
            Secondary
        <% } %>
    </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>
