<% var subheadingTitle; if (clinics && clinics.length > 0) { subheadingTitle = "SELECT UP TO: 5"; } else { subheadingTitle = "NO CLINICS AVAILABLE"; } %>

Clinics

Close <% if (subheadingTitle === "SELECT UP TO: 5") { %> <% } %>
<%- subheadingTitle %>
<% var i = 0; _.each(clinics, function (clinic) { %> <% i++; }); %>
<% if(clinics){ %>
<% var disabled; if (typeof desiredDate !== "undefined" && desiredDate !== "") { disabled = "disabled"; } %> value="<%- desiredDate %>" />
<% } else { %>

It appears there is something wrong with the clinic configuration... Please contact your Systems Administrator.

<% }; %>