consent.html 1.76 KB
Newer Older
Timo Heikkilä's avatar
Timo Heikkilä committed
1
2
{% extends "base.html" %}
{% block content %}
Timo Heikkilä's avatar
Timo Heikkilä committed
3
4


Timo Heikkilä's avatar
Timo Heikkilä committed
5
      
Timo Heikkilä's avatar
Timo Heikkilä committed
6
7
8
<h1 class="container mt-5 display-4"><br> {{ experiment_info.name }}</h1>
<br>
<p class="lead">{{ experiment_info.short_instruction }}</p>
Timo Heikkilä's avatar
Timo Heikkilä committed
9
<br>
Timo Heikkilä's avatar
Timo Heikkilä committed
10

Timo Heikkilä's avatar
Timo Heikkilä committed
11
<h3>{{ _('Consent for participation:') }}</h3>
Timo Heikkilä's avatar
Timo Heikkilä committed
12

Timo Heikkilä's avatar
Timo Heikkilä committed
13
14
15
{% if experiment_info.research_notification_filename  %}
<h5> {{ _('Research bulletin can be read') }}  <a href="{{ url_for('view_research_notification', exp_id=experiment_info.idexperiment) }}">{{ _('here.') }}</a></h5>
{% endif %}
Timo Heikkilä's avatar
Timo Heikkilä committed
16

Timo Heikkilä's avatar
Timo Heikkilä committed
17
18
19
20
21
<p class="lead"> {{ experiment_info.consent_text }} </p>


 <a class="btn btn-primary" href="{{ url_for('participant_session', exp_id=exp_id, agree='true') }}" role="button">{{ _('Agree') }}</a>
 <button type="button" class="btn btn-primary" data-toggle="modal" data-target="#myModal">{{ _('Disagree') }}</button>
Timo Heikkilä's avatar
Timo Heikkilä committed
22
23
24
25
26
27
28
          <!-- Modal -->
          <div class="modal fade" id="myModal" role="dialog">
            <div class="modal-dialog modal-dialog-centered">
              <!-- Modal content-->
              <div class="modal-content modal-dialog-centered">
                <div class="modal-header">
                  <button type="button" class="close" data-dismiss="modal">&times;</button>
Timo Heikkilä's avatar
Timo Heikkilä committed
29
                  <h4 class="modal-title">{{ _('Notice!') }}</h4>
Timo Heikkilä's avatar
Timo Heikkilä committed
30
31
                </div>
                <div class="modal-body">
Timo Heikkilä's avatar
Timo Heikkilä committed
32
                  <p>{{ _('In order to participate for the study you need to agree with the terms presented.') }}</p>
Timo Heikkilä's avatar
Timo Heikkilä committed
33
34
                </div>
                <div class="modal-footer">
Timo Heikkilä's avatar
Timo Heikkilä committed
35
36
                  <button type="button" class="btn btn-default" data-dismiss="modal">{{ _('Close Notice') }}</button>
                  <a class="btn btn-primary" href="/" role="button">{{ _('Return Home') }}</a>
Timo Heikkilä's avatar
Timo Heikkilä committed
37
38
39
40
41
                </div>
              </div>
            </div>
          </div>

Timo Heikkilä's avatar
Timo Heikkilä committed
42

Timo Heikkilä's avatar
Timo Heikkilä committed
43
44
45
46
{% endblock %}