<script type="text/template" id="detailsTemplate">
    <p><strong>Name: </strong><%= name %></p>
    <p><strong>Email: </strong><%= email %></p>
    <p><strong>Phone: </strong><%= phone %></p>
    <p><strong>Unit Number: </strong><%= unit_no %></p>
    <p><strong>Tower: </strong><%= tower %></p>
    <p><strong>Area: </strong><%= district %></p>
    <p><strong>City: </strong><%= city %></p>
    <p><strong>Additional Info: </strong><%= description %></p>
    <p><strong>Property Type: </strong><%= property_type %></p>
    <p><strong>Status: </strong><%= cd_status ? cd_status.name : 'N/A' %></p>
    <p><strong>Category: </strong><%= cd_category ? cd_category.name : 'N/A' %></p>
    <p><strong>Assigned To: </strong><%= assignee ? assignee.name : 'N/A' %></p>
    <p><strong>Converted: </strong><%= converted_to ? 'Yes' : 'No' %></p>
</script>
