<%= __("Geography and demography") %>
<%= __("Testing and symptoms") %>
+<%= __("Testing and isolation") %>
<%= __("Symptoms") %>
++ > + + + > + +
+-
+
- + + + +
<%= __("Health") %>
+<%= __('Diabetes mellitus, Hypertension, Ischemic heart disease, Asthma, Chronic lung disease, Chronic kidney disease') %>
> @@ -361,36 +577,9 @@
- > - -
-- > - -
-- > - -
-- > - -
-- > - -
-- > - -
-> @@ -418,8 +607,19 @@ id="body-temperature" value="<%= bodyTemperature %>" > +
-
+
- + + + +
<%= __("Submit & Share") %>
+<%= __("How will my data be used?") %>
<%= __('Your health information is stored anonymously, and can not be used to identify you.')%>
@@ -442,15 +642,24 @@
-
+
- + - +
<%= __(`Contribute and share {{ hostname }} on`, { hostname: baseUrl }) %>
<%- include('partials/share', { amount: formatNumber(aggregated.numberOfReports) }) -%> @@ -515,6 +724,28 @@ altFormat: '<%= __(`F j, Y`) %>', dateFormat: 'Y-m-d' }); + //accepts a collection of html elements and returns true if any of the elements is checked + function isRadioButtonSet(collection) { + var re = false; + for (var i = 0; i < collection.length; i++) { + if (collection[i].checked) { + re = true; + break; + } + }; + return re; + } + + //returns the radio button that is set or false if none are + function radioSet(collection) { + for (var i = 0; i < collection.length; i++) { + if (collection[i].checked) { + return collection[i]; + break; + } + }; + return false; + } + + + + + + <%- include('partials/footer', { home: true }) -%>