3
3
{% extends 'UCLStudyBundle::base.html.twig' %}
6
<p class="lead">{{ 'We will need a bit of information about you, to help us ensure participants from multiple backgrounds, genders and levels of proficiency are represented in the study.' | trans }}</p>
6
<p class="lead">{{ 'We will need a bit of information about you, to help us ensure participants from multiple backgrounds are represented in the study.' | trans }}</p>
7
7
<div class="form-row clearfix">
8
8
<div class="col-sm-6"><p class="bs-callout bs-callout-success">{{ '<strong>If you are selected</strong>, you will receive an email with a complete breakdown of what will happen. You can then decide if you still want to join.' | trans | raw }}</p></div>
9
9
<div class="col-sm-6"><p class="bs-callout bs-callout-danger">{{ '<strong>If you are not selected</strong>, We will let you know within 3 weeks and your details will be permanently deleted.</p>' | trans | raw }}</div>
45
45
{{ form_row(form.occupation) }}
48
<div class="form-row">
49
{% if err_proficiency is defined %}
50
<div class="form-group has-error">{{ form_row(form.proficiency, {'attr': {'class': 'btn alert-danger'}}) }}<aside class="alert alert-warning">{{ err_proficiency }}</aside></div>
52
{{ form_row(form.proficiency) }}
54
<aside>{{ '<sub>1</sub> Technical skills include setting up a firewall, configuring a personal website, writing your own software or scripts, compiling a kernel yourself.' | trans | raw }}</aside>
58
{# <p>The following information will be used to ensure your <span class="fa fa-linux"></span> system is compatible with the software used in the study. If you use a derivate of Debian or Ubuntu, please indicate which one.</p> #}
60
<div class="form-row">
61
{% if err_distro is defined or err_distroValid is defined %}
62
<div class="form-group has-error">{{ form_row(form.distro, {'attr': {'class': 'btn alert-danger'}}) }}
63
{% if err_distro is defined %}<aside class="alert alert-warning">{{ err_distro }}</aside>{% endif %}</div>
65
{{ form_row(form.distro) }}
67
{% if err_distro_other is defined or err_distroValid is defined %}
68
<div class="form-group has-error small">{{ form_row(form.distro_other) }}
69
{% if err_distro_other is defined %}<aside class="alert alert-warning">{{ err_distro }}</aside>{% endif %}</div>
71
<div class=" small">{{ form_row(form.distro_other) }}</div>
73
{% if err_distroValid is defined %}
74
<aside class="alert alert-warning">{{ err_distroValid }}</aside>
49
<div class="form-row">
50
{% if err_city is defined or err_cityValid is defined %}
51
<div class="form-group has-error">{{ form_row(form.city, {'attr': {'class': 'btn alert-danger'}}) }}
52
{% if err_city is defined %}<aside class="alert alert-warning">{{ err_city }}</aside>{% endif %}</div>
54
{{ form_row(form.city) }}
56
{% if err_city_other is defined or err_cityValid is defined %}
57
<div class="form-group has-error small">{{ form_row(form.city_other) }}
58
{% if err_city_other is defined %}<aside class="alert alert-warning">{{ err_city }}</aside>{% endif %}</div>
60
<div class=" small">{{ form_row(form.city_other) }}</div>
62
{% if err_cityValid is defined %}
63
<aside class="alert alert-warning">{{ err_cityValid }}</aside>
78
<div class="form-row">
79
{% if err_de is defined %}
80
<div class="form-group has-error">{{ form_row(form.de, {'attr': {'class': 'btn alert-danger'}}) }}<aside class="alert alert-warning">{{ err_de }}</aside></div>
82
{{ form_row(form.de) }}
86
<div class="form-row">
87
{% if err_browser is defined %}
88
<div class="form-group has-error">{{ form_row(form.browser, {'attr': {'class': 'btn alert-danger'}}) }}<aside class="alert alert-warning">{{ err_browser }}</aside></div>
90
{{ form_row(form.browser) }}
94
68
{% include ('UCLStudyBundle::dpa.html.twig') %}
96
70
{{ form_row(form.register, {}) }}