inscription.twig 16.7 KB
Newer Older
1
2
3
4
5
6
7
8
9
10
{#
 * This file is part of JDEV-BOARDING
 *
 * (c) François Agneray <francois.agneray@lam.fr>
 * (c) Chrystel Moreau <chrystel.moreau@lam.fr>
 *
 * For the full copyright and license information, please view the LICENSE
 * file that was distributed with this source code.
 #}

François Agneray's avatar
François Agneray committed
11
12
13
14
{% extends "base.twig" %}

{% block title %}Inscription{% endblock %}
{% block content %}
15
   <div class="container">
16
            <h2>Inscription aux {{jdev.label}}</h2>
17
18
19
            <hr>
            <div class="row">
                <div class="col-md-12">
20
21
22
                    <h4><i class="fa fa-bar-chart"></i> Nouveaux Tarifs {{jdev.label}}</h4>
                    <ul>En raison de la pandémie, le format des JDEV a dû être adapté avec de <a href="http://devlog.cnrs.fr/jdev2020/inscription#les-frais-d-inscription" target="_blank">nouvelles conditions d'accès</a> et une <a href="http://devlog.cnrs.fr/jdev2020/inscription#les-frais-d-inscription" target="_blank">nouvelle tarification</a> (accès libre aux conférences sur inscription).
                    </ul>  
François Agneray's avatar
François Agneray committed
23
24
25
                </div>
            </div>

26
            <hr>
27
            {% if jdev.version > 0 and jdev.version < 4 %}
28
29
30
            <div class="row">
                <div class="col-md-8">
                    <h4><i class="fa fa-sign-in"></i> Formulaire d'Inscription</h4>
François Agneray's avatar
François Agneray committed
31

32
                    <form id="myForm" role="form" data-toggle="validator">
33
34
                        <div class="form-group">
                            <label for="nom">Nom</label> <span style="color: red;">*</span>
35
                            <input type="text" class="form-control" name="nom" id="nom" placeholder="Nom" required>
36
37
38
                        </div>
                        <div class="form-group">
                            <label for="prenom">Prénom</label> <span style="color: red;">*</span>
39
                            <input type="text" class="form-control" name="prenom" id="prenom" placeholder="Prénom" required>
40
                        </div>
41
 
42
                        <div class="form-group">
François Agneray's avatar
Modifs    
François Agneray committed
43
                            <label for="email" class="control-label">E-mail (professionnel)</label> <span style="color: red;">*</span>
44
45
                            <div class="form-inline row">
                                <div class="form-group col-md-6">
46
                                    <input style="width: 100%" type="email" name="email" class="form-control" id="email" placeholder="E-mail (professionnel)" required>
47
48
                                </div>
                                <div class="form-group col-md-6">
49
                                    <input style="width: 100%" type="email" class="form-control" id="emailConfirm" data-match="#email" data-match-error="Pas le même E-mail" placeholder="Confirmation E-mail (professionnel)" required>
50
51
52
53
                                    <div class="help-block with-errors"></div>
                                </div>
                            </div>
                        </div>                        
54
                        <div class="form-group">
55
56
57
58
59
60
61
62
63
64
                            <label for="password" class="control-label">Mot de passe</label> <span style="color: red;">*</span>
                            <div class="form-inline row">
                                <div class="form-group col-sm-6">
                                    <input style="width: 100%" type="password" name="password" class="form-control" id="password" placeholder="Mot de passe" required>
                                </div>
                                <div class="form-group col-sm-6">
                                    <input style="width: 100%" type="password" class="form-control" id="passwordConfirm" data-match="#password" data-match-error="Pas le même mot de passe" placeholder="Confirmation Mot de passe" required>
                                    <div class="help-block with-errors"></div>
                                </div>
                            </div>
65
                        </div>
66
                        
67
68
69
70
71
                        <div class="form-group">
                            <label for="statut">Statut</label> <span style="color: red;">*</span>
                            <select class="form-control" name="statut" id="statut" required>
                                <option></option>
                                <option value="ACADEMIQUE">ACADEMIQUE</option>
72
                                <option value="ETUDIANT">ETUDIANT</option>
73
74
75
76
77
78
79
80
81
82
                                <option value="INDUSTRIEL">INDUSTRIEL</option>
                            </select>
                        </div>
                        <div class="form-group">
                            <label for="emploi">Emploi</label> <span style="color: red;">*</span>
                            <select class="form-control" name="emploi" id="emploi">
                                <option></option>
                            </select>
                        </div>
                        <div class="form-group">
Chrystel Moreau's avatar
Chrystel Moreau committed
83
                            <label for="organisme">Organisme de tutelle / Laboratoires partenaires</label> <span style="color: red;">*</span>
84
85
                            <select class="form-control" name="organisme" id="organisme">
                                <option></option>
86
                                {% for organisme in organismes %}
87
                                <option value="{{ organisme.getId() }}">{{ organisme.getLabel() }} {%if organisme.getNbLibres() > 0%} (reste {{ organisme.getNbLibres() }} places Pré-Payées){% endif %}</option>
88
                                {% endfor %}
89
90
91
                            </select>
                        </div>
                        <div class="form-group">
François Agneray's avatar
François Agneray committed
92
                            <label for="unite">Nom unité/Entreprise</label> <span style="color: red;">*</span>
93
                            <input type="text" class="form-control" name="unite" id="unite" placeholder="Ex: UMRxxx, UMSccc, UPRfff, UPSggg" required>
94
95
                        </div>
                        <div class="form-group">
96
                            <label>Rôle(s) durant les JDEVs</label> <span style="color: red;">*</span>
97
98

                            <div class="row">
Chrystel Moreau's avatar
Chrystel Moreau committed
99
                                <div class="col-xs-4">
100
101
                                    <div class="checkbox">
                                        <label>
102
                                            <input type="radio" name="role" id="participant" value="Participant" checked required> Participant
103
104
105
106
                                        </label>
                                    </div>
                                    <div class="checkbox">
                                        <label>
107
                                            <input type="radio" name="role" id="accompagnant" value="Accompagnant" required> Individuel
108
109
                                        </label>
                                    </div>
110
111
                                   <div class="checkbox">
                                        <label>
112
                                            <input type="radio" name="role" id="oganisateur" value="Organisateur" required> Organisateur
113
114
115
116
                                        </label>
                                    </div>
                                    <div class="checkbox">
                                        <label>
117
                                            <input type="radio" name="role" id="invite" value="Invité" required> Invité
118
119
120
121
                                        </label>
                                    </div>
                                    <div class="checkbox">
                                        <label>
122
                                            <input type="radio" name="role" id="exposant" value="Exposant" required> Exposant
123
124
125
126
                                        </label>
                                    </div>
                                    <div class="checkbox">
                                        <label>
127
                                            <input type="radio" name="role" id="sponsor" value="Sponsor" required> Sponsor
128
129
130
                                        </label>
                                    </div>

131
                                </div>
132
                                
Chrystel Moreau's avatar
Chrystel Moreau committed
133
                                <div class="col-xs-8">
134
                                    {% for contribution in contributions %}
135
136
                                    <div class="checkbox">
                                        <label>
137
                                            <input type="checkbox" name="contribution_{{contribution.getId()}}" id="contribution_{{contribution.getId()}}" {% for contributionSelected in participant.getContributions() %} {% if contributionSelected.getContribution().getId() == contribution.getId() %}checked{% endif %} {% endfor %}> {{contribution.getLabel()}}
138
139
                                        </label>
                                    </div>
140
                                    {% endfor %}
141
142
143
144
145
146
147
148
149
150
                                </div>
                            </div>
                        </div>
                        <div class="form-group">
                            <label for="region">Région</label> <span style="color: red;">*</span>
                            <select class="form-control" name="region" id="region" required>
                                <option></option>
                                <option>Auvergne-Rhône-Alpes</option>
                                <option>Bourgogne-Franche-Comté</option>
                                <option>Bretagne</option>
151
                                <option>Centre-Val-de-Loire</option>                                
152
153
                                <option>Corse</option>
                                <option>Grand-Est</option>
154
155
156
157
                                <option>Hauts-de-France</option>                                
                                <option>Ile-de-France</option>
                                <option>Nouvelle-Aquitaine</option>                                
                                <option>Normandie</option>
158
159
160
                                <option>Occitanie</option>
                                <option>Outre-Mer</option>
                                <option>Pays-de-la-Loire</option>
161
                                <option>Provence-Alpes-Côte d'Azur</option>
162
163
164
                            </select>
                        </div>
                        <div class="form-group">
165
                            <label>Appartenance à un/des réseau(x) métier(s)/technologique(s)/IT</label>
166
167

                            <div class="row">
168
                                <div class="col-xs-4">
169
                                    {% for reseau in reseaux1 %}
170
171
                                    <div class="checkbox">
                                        <label>
172
                                            <input type="checkbox" name="reseau_{{reseau.getId()}}" id="reseau_{{reseau.getId()}}" {% for reseauSelected in participant.getReseaux() %} {% if reseauSelected.getReseau().getId() == reseau.getId() %}checked{% endif %} {% endfor %}> {{reseau.getLabel()}}
173
174
                                        </label>
                                    </div>
175
                                    {% endfor %}
176
                                </div>
177
178
                                <div class="col-xs-4">
                                    {% for reseau in reseaux2 %}
179
180
                                    <div class="checkbox">
                                        <label>
181
                                            <input type="checkbox" name="reseau_{{reseau.getId()}}" id="reseau_{{reseau.getId()}}" {% for reseauSelected in participant.getReseaux() %} {% if reseauSelected.getReseau().getId() == reseau.getId() %}checked{% endif %} {% endfor %}> {{reseau.getLabel()}}
182
183
                                        </label>
                                    </div>
184
                                    {% endfor %}
185
                                </div>
186
187
                                <div class="col-xs-4">
                                    {% for reseau in reseaux3 %}
188
189
                                    <div class="checkbox">
                                        <label>
190
                                            <input type="checkbox" name="reseau_{{reseau.getId()}}" id="reseau_{{reseau.getId()}}" {% for reseauSelected in participant.getReseaux() %} {% if reseauSelected.getReseau().getId() == reseau.getId() %}checked{% endif %} {% endfor %}> {{reseau.getLabel()}}
191
192
                                        </label>
                                    </div>
193
                                    {% endfor %}
194
                                </div>
195
                            </div>    
196
197
                        </div>
                        <div class="form-group">
198
                            <label>Appartenance à une/des communauté(s) thématique(s)/scientifique(s)</label>
199

Chrystel Moreau's avatar
Chrystel Moreau committed
200
                            <div class="row">                        
201
                                <div class="col-xs-4">
202
                                    {% for communaute in communaute1 %}
203
204
                                    <div class="checkbox">
                                        <label>
205
                                            <input type="checkbox" name="communaute_{{communaute.getId()}}" id="communaute_{{communaute.getId()}}" {% for communauteSelected in participant.getCommuanutes() %} {% if communauteSelected.getCommuanute().getId() == communaute.getId() %}checked{% endif %} {% endfor %}> {{communaute.getLabel()}}
206
207
                                        </label>
                                    </div>
208
                                    {% endfor %}                  
209
210
                                </div>
                                <div class="col-xs-4">
211
                                    {% for communaute in communaute2 %}
212
213
                                    <div class="checkbox">
                                        <label>
214
                                            <input type="checkbox" name="communaute_{{communaute.getId()}}" id="communaute_{{communaute.getId()}}" {% for communauteSelected in participant.getCommuanutes() %} {% if communauteSelected.getCommuanute().getId() == communaute.getId() %}checked{% endif %} {% endfor %}> {{communaute.getLabel()}}
215
216
                                        </label>
                                    </div>
217
                                    {% endfor %}                  
218
219
                                </div>
                                <div class="col-xs-4">
220
                                    {% for communaute in communaute3 %}
221
222
                                    <div class="checkbox">
                                        <label>
223
                                            <input type="checkbox" name="communaute_{{communaute.getId()}}" id="communaute_{{communaute.getId()}}" {% for communauteSelected in participant.getCommuanutes() %} {% if communauteSelected.getCommuanute().getId() == communaute.getId() %}checked{% endif %} {% endfor %}> {{communaute.getLabel()}}
224
225
                                        </label>
                                    </div>
226
                                    {% endfor %}                  
227
228
229
230
231
                                </div>
                            </div>
                        </div>
                        <div class="form-group">
                            <label for="type">Type d'inscription</label> <span style="color: red;">*</span>
232
                            <select class="form-control" name="type_inscription" id="type_inscription" required>
233
                                <option value="PASS COMPLET">PASS COMPLET</option>
234
235
236
237
                            </select>
                        </div>
                        <div class="checkbox">
                            <label>
238
                                <input type="checkbox" name="mailing_list" id="mailing_list"> S'inscrire à la mailing liste des {{jdev.label}}
239
240
                            </label>
                        </div>
241
                       
242
                        <button type="submit" id="btn-inscription-submit" class="btn btn-sea" value="Envoyer">S'inscrire</button>
Chrystel Moreau's avatar
Chrystel Moreau committed
243
244
245
                        <br>
                            <i>* Les données collectées servent à l'organisation des JDEV.</i>
                        
246
247
                    </form>
                </div>
François Agneray's avatar
François Agneray committed
248
            </div>
249
            {% else %}
250
                {% if jdev.version == 0  %}
251
                <h4><i class="fa fa-times-circle" aria-hidden="true"></i> Ouverture des inscriptions le {{ jdev.ouverture | date('d/m/Y')}}</h4>
252
                {% else %}
253
                <h4><i class="fa fa-times-circle" aria-hidden="true"></i> Les Inscriptions sont closes</h4>
254
                {% endif %}
255
            {% endif %}
François Agneray's avatar
François Agneray committed
256
257
        </div>
{% endblock %}