<%- include('_header'); -%>

<% if (isCreate) { %> Create a New Cemetery <% } else { %> Update Cemetery <% } %>

<% if (!isCreate) { %> <%= cemetery.cemeteryName || "(No Name)" %> <% } %>
<% if (isCreate) { %> <% } else { %>
<% } %>
/>

Address

Geographic Location

Image

<% if (!isCreate) { %> <% const burialSiteSearchUrl = urlPrefix + "/burialSites?cemeteryId=" + cemetery.cemeteryId; %>
<% if (cemetery.burialSiteCount === 0) { %>

There are no burial sites associated with this cemetery.

<% } else { %>
<% for (const burialSiteType of burialSiteTypeSummary) { %> <% } %>
Type Burial Site Count Percentage
<%= burialSiteType.burialSiteType %> <%= burialSiteType.burialSiteCount %> <%= ((burialSiteType.burialSiteCount / cemetery.burialSiteCount) * 100).toFixed(1) %>%
<% for (const burialSiteStatus of burialSiteStatusSummary) { %> <% } %>
Status Burial Site Count Percentage
<%= burialSiteStatus.burialSiteStatus %> <%= burialSiteStatus.burialSiteCount %> <%= ((burialSiteStatus.burialSiteCount / cemetery.burialSiteCount) * 100).toFixed(1) %>%
<% } %>
<% } %> <%- include('_footerA'); -%> <%- include('_footerB'); -%>