-
Notifications
You must be signed in to change notification settings - Fork 16
/
post_sample_questionnaire.jinja2
34 lines (33 loc) · 1.61 KB
/
post_sample_questionnaire.jinja2
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
{% extends "sitebase.jinja2" %}
{% set page_title = _("Optional Sample Surveys") %}
{% block head %}
{% endblock %}
{% block content %}
<script type="text/javascript">
function disable_link(link_obj) {
link_obj.style.opacity = .65;
link_obj.style.pointerEvents = "none";
return true;
}
</script>
<div class="container">
<div class="row">
<h4>{{ _('Your diet can provide researchers valuable information') }}.</h4>
</div>
<div class="row">
<p>{{ _('Would you like to take our additional survey, the') }} <b>{{ _('Food Frequency Questionnaire') }}</b> ({{ _('FFQ') }})? {{ _('By completing the questionnaire, you can enhance information about your sample, which will power more insightful research!') }}</p>
<p><b>{{ _('Note') }}:</b> {{ _('If you took multiple samples within a short time frame, you only need to take the FFQ for one such sample') }}.</p>
</div>
<div class="row">
<p><b>{{ _('Approx time: 30 minutes') }}.</b></p>
</div>
<div class="row">
<div class="col-sm-2">
<a class="btn btn-primary" href="/accounts/{{account_id}}/sources/{{source_id}}/samples/{{sample_id}}/survey_templates/{{vioscreen_id}}" role="button" onClick="return disable_link(this);">{{ _('Take FFQ') }}</a>
</div>
<div class="col-sm-3">
<a class="btn btn-primary" href="/accounts/{{account_id}}/sources/{{source_id}}" role="button">{{ _('Back to Samples') }}</a>
</div>
</div>
</div>
{% endblock %}