perso.html 26 KB
Newer Older
Marne's avatar
Marne committed
1
<section id="wrapper">
Okhin's avatar
Okhin committed
2
3
4
5
6
7
8
9
10
11
    <div id="subtitle" class="row">
        <div class="page-header">
            <h1 class="text-left">{{ _("Merci de soutenir La Quadrature du Net &lt;3&nbsp;!")}}</h1>
        </div>
        <div id="perso" class="row fluid">
            <div class="col-md-4"><!-- Form infos du compte -->
                <div class="panel panel-default">
                    <input id="compte" type="checkbox">
                    <label for="compte" class="panel-heading" role="tab" id="headingInfos">
                        <div class="panel-title col-xs text-left">
Okhin's avatar
Okhin committed
12
                            {{ _("Compte")}}
Okhin's avatar
Okhin committed
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
                            <div class="panel-title col-xs-2 text-right">
                            </div>
                        </div>
                    </label>
                    <div id="collapseInfos" class="panel-collapse collapse" aria-labelledby="headingInfos">
                        <div class="panel-body text-left">
                            <form method="POST" action="{{ 'infos' | alias }}">
                                <input type="hidden" name="csrf" value="{{ @CSRF }}" />
                                <div class="form-group">
                                    <label for="pseudo">{{ _("Pseudo") }}</label>
                                    <input type="text" class="form-control" id="pseudo" name="pseudo" value="{{ @infos.pseudo }}">
                                </div>
                                <div class="form-group">
                                    <label for="email">{{ _("Adresse mail")}}</label>
                                    <input type="email" class="form-control" name="email" id="email" value="{{ @infos.email }}">
                                </div>
                                <div class="form-group">
                                    <label for="password">{{ _("Mot de passe")}}</label>
                                    <input type="password" class="form-control" name="password" id="password">
                                </div>
                                <div class="form-group">
                                    <label for="password_confirmation">{{ _("Confirmation de mot de passe")}}</label>
                                    <input type="password" class="form-control" name="password_confirmation" id="password_confirmation">
                                </div>
                                <input type="submit" class="btn btn-lg btn-primary c-boutonslongs" value="{{ _("Mettre à jour") }}">
                            </form>
39
                        </div>
Okhin's avatar
Okhin committed
40
                    </div>
Okhin's avatar
Okhin committed
41
                </div>
Okhin's avatar
Okhin committed
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
                <div id="collapseInfos" class="panel-collapse collapse" aria-labelledby="headingInfos">
                    <div class="panel-body text-left">
                        <form method="POST" action="{{ 'infos' | alias }}">
                            <input type="hidden" name="csrf" value="{{ @CSRF }}" />
                            <div class="form-group">
                                <label for="pseudo">{{ _("Pseudo") }}</label>
                                <input type="text" class="form-control" id="pseudo" name="pseudo" value="{{ @infos.pseudo }}">
                            </div>
                            <div class="form-group">
                                <label for="email">{{ _("Adresse mail")}}</label>
                                <input type="email" class="form-control" name="email" id="email" value="{{ @infos.email }}">
                            </div>
                            <div class="form-group">
                                <label for="password">{{ _("Mot de passe")}}</label>
                                <input type="password" class="form-control" name="password" id="password">
57
                            </div>
Okhin's avatar
Okhin committed
58
59
60
                            <div class="form-group">
                                <label for="password_confirmation">{{ _("Confirmation de mot de passe")}}</label>
                                <input type="password" class="form-control" name="password_confirmation" id="password_confirmation">
61
                            </div>
Okhin's avatar
Okhin committed
62
63
64
65
                            <input type="submit" class="btn btn-lg btn-primary c-boutonslongs" value="{{ _("Mettre à jour") }}">
                        </form>
                    </div>
                </div>
Okhin's avatar
Okhin committed
66
67
68
69
70
71
            </div><!-- /Form infos du compte -->
            <div class="col-md-4"><!-- Form addresses -->
                <div class="panel panel-default">
                    <input id="adresses" type="checkbox">
                    <label for="adresses" class="panel-heading" role="tab" id="headingInfos">
                        <div class="panel-title col-xs text-left">
Okhin's avatar
Okhin committed
72
                            {{ _("Adresse")}}
Okhin's avatar
Okhin committed
73
74
                            <div class="panel-title col-xs-2 text-right">
                            </div>
Okhin's avatar
90    
Okhin committed
75
                        </div>
Okhin's avatar
Okhin committed
76
77
78
                    </label>
                    <div id="collapseAdresses" class="panel-collapse collapse" href="#collapseAdresses" aria-expanded="false" aria-controls="collapseAdresses">
                        <div class="panel-body text-left">
Okhin's avatar
Okhin committed
79
                            <h3>{{ _("Renseigner votre adresse.")}}</h3>
Okhin's avatar
Okhin committed
80
81
82
                            <form method="POST" action="{{ 'adresses' | alias }}" id="create-adress-form">
                                <input type="hidden" name="csrf" value="{{ @CSRF }}" />
                                <input type="hidden" name="action" value="ADD" />
Okhin's avatar
Okhin committed
83
                                <input type="hidden" name="id" value="{{ @@adresse.id }}" />
Okhin's avatar
Okhin committed
84
85
                                <div class="form-group">
                                    <label for="nom">{{ _("Destinataire") }}</label>
Okhin's avatar
Okhin committed
86
                                    <input type="text" class="form-control" name="nom" value="{{ @@adresse.nom }}">
Okhin's avatar
Okhin committed
87
88
89
                                </div>
                                <div class="form-group">
                                    <label for="adresse">{{ _("Adresse")}}</label>
Okhin's avatar
Okhin committed
90
                                    <input type="text" class="form-control" name="adresse" value="{{ @@adresse.adresse }}">
Okhin's avatar
Okhin committed
91
92
93
                                </div>
                                <div class="form-group">
                                    <label for="adresse2">{{ _("Complément d'adresse")}}</label>
Okhin's avatar
Okhin committed
94
                                    <input type="text" class="form-control" name="adresse2" value=" {{ @@adresse.adresse2 }}">
Okhin's avatar
Okhin committed
95
96
97
                                </div>
                                <div class="form-group">
                                    <label for="codepostal">{{ _("Code Postal")}}</label>
Okhin's avatar
Okhin committed
98
                                    <input type="text" class="form-control" name="codepostal" value="{{ @@adresse.codepostal }}">
Okhin's avatar
Okhin committed
99
100
101
                                </div>
                                <div class="form-group">
                                    <label for="ville">{{ _("Ville")}}</label>
Okhin's avatar
Okhin committed
102
                                    <input type="text" class="form-control" name="ville" value="{{ @@adresse.ville }}">
Okhin's avatar
Okhin committed
103
104
105
                                </div>
                                <div class="form-group">
                                    <label for="state">{{ _("Province / État")}}</label>
Okhin's avatar
Okhin committed
106
                                    <input type="text" class="form-control" name="state" value="{{ @@adresse.state }}">
Okhin's avatar
Okhin committed
107
108
109
                                </div>
                                <div class="form-group">
                                    <label for="pays">{{ _("Pays")}}</label>
Okhin's avatar
Okhin committed
110
                                    <input type="text" class="form-control" name="pays" value="{{ @@adresse.pays }}">
Okhin's avatar
Okhin committed
111
                                </div>
Okhin's avatar
Okhin committed
112
113
114
115
116
                                <check if="{{ @adresse }}">
                                <true>
                                <input type="submit" class="btn btn-lg c-boutonslongs" value="{{ _("Modifier cette adresse")}}">
                                </true>
                                <false>
Okhin's avatar
Okhin committed
117
                                <input type="submit" class="btn btn-lg c-boutonslongs" value="{{ _("Créer cette adresse")}}">
Okhin's avatar
Okhin committed
118
119
                                </false>
                                </check>
Okhin's avatar
Okhin committed
120
                            </form>
Okhin's avatar
90    
Okhin committed
121
                        </div>
122
                    </div>
Okhin's avatar
90    
Okhin committed
123
                </div>
Okhin's avatar
Okhin committed
124
125
126
127
128
129
130
131
132
            </div><!-- / Form Adresses -->
            <div class="col-md-4"><!-- Form historique -->
                <div class="panel panel-default">
                    <input id="histo" type="checkbox">
                    <label for="histo" class="panel-heading" role="tab" id="headingInfos">
                        <div class="panel-title col-xs text-left">
                            {{ _("Historique")}}
                            <div class="panel-title col-xs-2 text-right">
                            </div>
Okhin's avatar
90    
Okhin committed
133
                        </div>
Okhin's avatar
Okhin committed
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
                    </label>
                    <div id="collapseHistorique" class="panel-collapse collapse" aria-labelledby="headingHistorique">
                        <div class="panel-body text-left">
                            <table class="table text-left">
                                <tr>
                                    <th>{{ _("Date") }}</th>
                                    <th>{{ _("Dons") }}</th>
                                    <th>{{ _("Récurent") }}</th>
                                    <th>{{ _("Contreparties") }}</th>
                                </tr>
                                <repeat group="{{ @dons_recurrents }}" value="{{ @don }}">
                                <tr>
                                    <td>{{ @don.datec }}</td>
                                    <td>{{ @don.somme }}</td>
                                    <td>{{ _("Oui")}}</td>
                                    <td></td>
                                </tr>
                                </repeat>
                                <repeat group="{{ @dons }}" value="{{ @don }}">
                                <tr>
                                    <td>{{ @don.datec }}</td>
                                    <td>{{ @don.somme }}</td>
                                    <td>{{ _("Non")}}</td>
                                    <td></td>
                                </tr>
                                </repeat>
                                <repeat group="{{ @contreparties }}" value="{{ @contrepartie }}">
                                <tr>
                                    <td>{{ @contrepartie.datec }}</td>
                                    <td></td>
                                    <td></td>
                                    <td>{{ @contrepartie.quoi }}</td>
                                </tr>
                                </repeat>
                            </table>
Okhin's avatar
90    
Okhin committed
169
                        </div>
Okhin's avatar
Okhin committed
170
                    </div>
171
                </div>
Okhin's avatar
Okhin committed
172
            </div><!-- / Form historique -->
Okhin's avatar
90    
Okhin committed
173
        </div>
Okhin's avatar
Okhin committed
174
</section>
Marne's avatar
Marne committed
175
<section id="wrapper" class="text-center fluid">
Okhin's avatar
Okhin committed
176
177
178
179
180
    <div id="subtitle" class="row">
        <div class="page-header">
            <h2 class="text-left">{{ _("Vos dons")}}</h2>
        </div>
    </div>
Marne's avatar
Marne committed
181
    <div id="vosdons" class="row">
Okhin's avatar
Okhin committed
182
183
184
185
186
        <div class="col-md-4"><!-- déjà donné -->
            <div class="panel panel-default">
                <div class="panel-heading" role="tab" id="headingOne">
                    <div class="panel-title">
                        <p>{{ _("Vous avez déjà donné")}}</p>
187
188
                    </div>
                </div>
Okhin's avatar
Okhin committed
189
190
191
                <div class="panel-body c-pannelfondblanc">
                    <p class="c-groschiffre">{{ @infos.total }}&nbsp;</p>
                </div>
192
            </div>
Okhin's avatar
Okhin committed
193
194
195
196
197
198
199
200
201
202
        </div><!-- / Déjà donné -->
        <div class="col-md-4"><!-- disponible -->
            <div class="panel panel-default">
                <div class="panel-heading" role="tab" id="headingOne">
                    <div class="panel-title">
                        <p>{{ _("Disponible pour demander des contreparties")}}</p>
                    </div>
                </div>
                <div class="panel-body c-pannelfondblanc">
                    <p class="c-groschiffre">{{ @infos.cumul }}&nbsp;</p>
203
204
                </div>
            </div>
Okhin's avatar
Okhin committed
205
206
207
208
        </div><!-- / disponible -->
    </div>
    <div class="row"><!-- nouveau don -->
        <div class="row">
Okhin's avatar
Okhin committed
209
210
211
            <div class="col-md-4 col-md-offset-4">
                <a href="/#step1" type=""class="btn btn-lg btn-primary c-boutonscourts">{{ _("Faire un nouveau don")}}</a>
            </div>
212
213
214
        </div>
    </div>
</section>
Okhin's avatar
Okhin committed
215

Marne's avatar
Marne committed
216
<section id="wrapper" class="text-center fluid">
Okhin's avatar
Okhin committed
217
218
219
220
221
222
223
224
    <div id="subtitle" class="row">
        <div class="page-header">
            <h2 class="text-left">{{ _("Demander des contreparties")}}</h2>
        </div>
        <p class="text-left">{{ _("Pour débloquer les objets associés à un bonus, cliquez sur l'icône de celui-ci. Le montant disponible pour les objets sera déduit du montant du palier et les objets seront disponibles sur la page <a href=\"#\">Mes contreparties</a> pour en demander la livraison.")}}</p>
        <div id="" class="row">
            <form method="GET" action="{{ 'perso' | alias }}" name="contreparties">
                <input type="hidden" name="validate" value="true">
Marne's avatar
Marne committed
225
                <label></label>
Okhin's avatar
Okhin committed
226
227
228
229
230
                <check if="{{ @infos.cumul >= 30 }}">
                <div class="col-md-8 col-md-offset-2"><!-- piplome -->
                    <div class="panel panel-default">
                        <div class="panel-body c-panelcontrepartie">
                            <div class="col-md-1">
Marne's avatar
Marne committed
231
                                <input type="radio" name="quoi" id="quoi1" class="radio" checked <check if="{{ @infos.cumul < 30 }}">disabled</check> value="piplome">
Marne's avatar
Marne committed
232
                                <label for="quoi1"></label>
Okhin's avatar
Okhin committed
233
234
235
                            </div>
                            <div class="col-md-3 text-center">
                                <p>
236
                                <img class="" src="/static/img/piplome.svg" alt="">
Okhin's avatar
90    
Okhin committed
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
                                </p>
                            </div>
                            <div class="col-md-8">
                                <div class="form-group text-left">
                                    <label for="quoi1">
                                        <h3 class="text-left">{{ _("Piplôme")}}</h3>
                                    </label>
                                    <div class="text-left">
                                        <label for="piplome_id">{{ _("Titulaire du Piplôme")}}</label>
                                        <input type="text" class="form-control" id="piplome_id" name="piplome_id" value="" placeholder="Nom, prénom, pseudonyme, etc …">
                                    </div>
                                </div>
                            </div>
                            <div class="c-prixcontrepartie">
                                <p>30&nbsp;</p>
Okhin's avatar
Okhin committed
252
253
254
                            </div>
                        </div>
                    </div>
Okhin's avatar
Okhin committed
255
256
257
258
259
260
261
                </div><!-- piplome -->
                </check>
                <check if="{{ @infos.cumul >= 50 }}">
                <div class="col-md-8 col-md-offset-2"><!-- Pibag -->
                    <div class="panel panel-default">
                        <div class="panel-body c-panelcontrepartie">
                            <div class="col-md-1">
Marne's avatar
Marne committed
262
                                <input type="radio" class="radio" id="quoi2" name="quoi" <check if="{{ @infos.cumul < 50 }}">disabled</check> value="pibag">
Marne's avatar
Marne committed
263
                                <label for="quoi2"></label>
Okhin's avatar
Okhin committed
264
265
266
                            </div>
                            <div class="col-md-3 text-center">
                                <p>
Marne's avatar
Marne committed
267
                                <img class="" src="/static/img/pibag2.svg" alt="">
Okhin's avatar
Okhin committed
268
269
270
271
272
273
                                </p>
                            </div>
                            <div class="col-md-8">
                                <div class="form-group text-left">
                                    <label for="quoi2">
                                        <h3 class="text-left">{{ _("Pibag")}}</h3>
Marne's avatar
Marne committed
274
                                        <h5>{{ _("Ainsi que le piplome.") }}</h5>
Okhin's avatar
Okhin committed
275
276
                                    </label>
                                </div>
Okhin's avatar
Okhin committed
277
                            </div>
Marne's avatar
Marne committed
278
279
280
                            <div class="c-prixcontrepartie">
                                <p>50&nbsp;</p>
                            </div>
Okhin's avatar
Okhin committed
281
282
                        </div>
                    </div>
Okhin's avatar
Okhin committed
283
284
285
286
287
288
289
                </div><!-- / Pibag -->
                </check>
                <check if="{{ @infos.cumul >= 100 }}">
                <div class="col-md-8 col-md-offset-2"><!-- Pishirt -->
                    <div class="panel panel-default">
                        <div class="panel-body c-panelcontrepartie">
                            <div class="col-md-1">
Marne's avatar
Marne committed
290
                                <input type="radio" class="radio" id="quoi3" name="quoi" <check if="{{ @infos.cumul < 100 }}">disabled</check> value="pishirt">
Marne's avatar
Marne committed
291
                                <label for="quoi3"></label>
Okhin's avatar
Okhin committed
292
293
294
                            </div>
                            <div class="col-md-3 text-center">
                                <p>
Marne's avatar
Marne committed
295
                                <img class="" src="/static/img/pishirt2.svg" alt="">
Okhin's avatar
Okhin committed
296
297
298
299
300
301
                                </p>
                            </div>
                            <div class="col-md-8">
                                <div class="form-group text-left">
                                    <label for="quoi3">
                                        <h3 class="text-left">{{ _("Pi-Shirt")}}</h3>
Marne's avatar
Marne committed
302
                                        <h5>{{ _("Ainsi que le piplome et le pibag.") }}</h5>
Okhin's avatar
Okhin committed
303
304
305
306
307
308
309
310
311
312
                                    </label>
                                    <form class="text-left">
                                        <div class="form-group text-left">
                                            <label for="taille">{{ _("Taille") }}</label>
                                            <select class="form-control" name="taille">
                                                <repeat group="{{ @atailles }}" key="{{ @key }}" value="{{ @value }}">
                                                <option value="{{ @key }}">{{ @value }}</option>
                                                </repeat>
                                            </select>
                                        </div>
Okhin's avatar
90    
Okhin committed
313
314
315
316
                                </div>
                            </div>
                            <div class="c-prixcontrepartie">
                                <p>100&nbsp;</p>
Okhin's avatar
Okhin committed
317
                            </div>
318
                        </div>
Okhin's avatar
Okhin committed
319
                    </div>
Okhin's avatar
Okhin committed
320
321
322
323
324
325
326
                </div><!-- / Pishirt -->
                </check>
                <check if="{{ @infos.cumul >= 250 }}">
                <div class="col-md-8 col-md-offset-2"><!-- Hoopi -->
                    <div class="panel panel-default">
                        <div class="panel-body c-panelcontrepartie">
                            <div class="col-md-1">
Marne's avatar
Marne committed
327
                                <input type="radio" class="radio" id="quoi4" name="quoi"<check if="{{ @infos.cumul < 250 }}">disabled</check> value="hoopie">
Marne's avatar
Marne committed
328
                                <label for="quoi4"></label>
Okhin's avatar
Okhin committed
329
330
331
                            </div>
                            <div class="col-md-3 text-center">
                                <p>
Marne's avatar
Marne committed
332
                                <img class="media-object" src="/static/img/hoopie2.svg" alt="">
Okhin's avatar
Okhin committed
333
334
335
336
337
338
                                </p>
                            </div>
                            <div class="col-md-8">
                                <div class="form-group text-left">
                                    <label for="quoi4">
                                        <h3 class="text-left">{{ _("Hoodie")}}</h3>
Marne's avatar
Marne committed
339
                                        <h5>{{ _("Ainsi que le pi-shirt, le piplome et le pibag.") }}</h5>
Okhin's avatar
Okhin committed
340
341
342
343
344
345
346
347
348
349
                                    </label>
                                    <form class="text-left">
                                        <div class="form-group text-left">
                                            <label for="taille">{{ _("Taille") }}</label>
                                            <select name="taille_h" class="form-control">
                                                <repeat group="{{ @atailles }}" key="{{ @key }}" value="{{ @value }}">
                                                <option value="{{ @key }}">{{ @value }}</option>
                                                </repeat>
                                            </select>
                                        </div>
Okhin's avatar
90    
Okhin committed
350
351
352
353
                                </div>
                            </div>
                            <div class="c-prixcontrepartie">
                                <p>250&nbsp;</p>
354
355
356
                            </div>
                        </div>
                    </div>
Okhin's avatar
Okhin committed
357
358
                </div><!-- / Hoopi -->
                </check>
Okhin's avatar
Okhin committed
359
360
                <check if="{{ @adresse }}">
                <true>
Okhin's avatar
Okhin committed
361
362
363
                <div class="col-md-8 col-md-offset-2">
                    <h3>{{ _("Expedier à&nbsp;:")}} {{ @adresse.nom }} {{ @adresse.adresse }}</h3>
                </div>
Okhin's avatar
Okhin committed
364
365
366
367
368
369
370
                </true>
                <false>
                <div class="col-md-8 col-md-offset-2">
                    <h3>Veuillez ajouter une adresse postale <a href="#headingInfos" for="adresses">ici</a></h3>
                </div>
                </false>
                </check>
Okhin's avatar
Okhin committed
371
                <div class="col-md-8 col-md-offset-2"><!-- Bouton -->
Okhin's avatar
Okhin committed
372
                    <input type="submit" class="btn btn-lg btn-primary c-boutonscourts" value="{{ _('Envoyer')}}" <check if="{{ @adresse }}"><false>disabled</false></check>>
Okhin's avatar
Okhin committed
373
374
375
                </div><!-- / bouton -->
            </form>
        </div>
Okhin's avatar
Okhin committed
376
377
378
379
    </div>
</section>

<!-- Modale de confirmation -->
Okhin's avatar
90    
Okhin committed
380
<!-- On utilise un GET /perso avec le formulaire précent pour peupler la modale -->
Okhin's avatar
Okhin committed
381
382
383
384
<check if="{{ @modal_counterparts == 1 }}">
<div class="modal fade show in" id="ModaleConfirmation" tabindex="-1" role="dialog">
    <div class="modal-dialog modal-lg" role="document">
        <form class="text-left" method="POST" action="{{ 'add_contrepartie' | alias}}">
Okhin's avatar
90    
Okhin committed
385
386
            <div class="modal-content c-modale">
                <div class="modal-body">
387
                    <h3>{{ _("Envoyer à l'adresse&nbsp;:") }}</h3>
388
                    <p class="addressmodal">
Okhin's avatar
Okhin committed
389
390
391
392
393
394
395
396
397
398
399
                    {{ @adresse.nom }}<br>
                    {{ @adresse.adresse }}<br>
                    <check if="{{ @@adresse.adresse2 }}">
                    {{ @adresse.adresse2 }}<br>
                    </check>
                    {{ @adresse.codepostal }}&nbsp;
                    {{ @adresse.ville }}
                    <check if="{{ @@adresse.state }}">
                    {{ @adresse.state }}&nbsp;
                    </check>
                    {{ @adresse.pays }}
400
401
                    </p>
                    <h3>{{ _("Récapitulatif&nbsp;:") }}</h3>
Okhin's avatar
Okhin committed
402
403
404
405
406
407
408
                    <ul class="list-unstyled">
                        <check if="{{ in_array(@GET['quoi'], array('piplome', 'pibag', 'pishirt', 'hoopie')) }}">
                        <li class="media">
                            <div class="media-left">
                                <img class="media-object" src="/static/img/piplome.svg" alt="">
                            </div>
                            <div class="media-body">
409
                                {{ _("Un piplôme") }}
Okhin's avatar
Okhin committed
410
411
412
413
414
415
                            </div>
                        </li>
                        </check>
                        <check if="{{ in_array(@GET['quoi'], array('pibag', 'pishirt', 'hoopie')) }}">
                        <li class="media">
                            <div class="media-left">
416
                                <img class="media-object" src="/static/img/pibag2.svg" alt="">
Okhin's avatar
Okhin committed
417
418
                            </div>
                            <div class="media-body">
Marne's avatar
Marne committed
419
                                {{ _("Un pibag") }}
Okhin's avatar
Okhin committed
420
421
422
423
424
425
                            </div>
                        </li>
                        </check>
                        <check if="{{ in_array(@GET['quoi'], array('pishirt', 'hoopie')) }}">
                        <li class="media">
                            <div class="media-left">
426
                                <img class="media-object" src="/static/img/pishirt2.svg" alt="">
Okhin's avatar
Okhin committed
427
428
                            </div>
                            <div class="media-body">
Okhin's avatar
Okhin committed
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
                                {{ _("Un pi-shirt") }} ({{@atailles[@GET['taille']]}})
                            </div>
                        </li>
                        </check>
                        <check if="{{ in_array(@GET['quoi'], array('hoopie')) }}">
                        <li class="media">
                            <div class="media-left">
                                <img class="media-object" src="/static/img/hoopie2.svg" alt="">
                            </div>
                            <div class="media-body">
                                {{ _("Un hoopie") }} ({{@atailles[@GET['taille_h']]}})
                            </div>
                        </li>
                        </check>
                    </ul>
                </div>
445
                <div class="form-group text-left">
Marne's avatar
Marne committed
446
                    <label for="commentaire"><h3>{{ _("Un commentaire&nbsp;? Si il y a un objet du pack que vous ne voulez pas indiquez-le nous :)") }}</h3></label>
447
                    <textarea class="form-control" id="commentaire" name="commentaire" placeholder="" row="3"></textarea>
Okhin's avatar
Okhin committed
448
449
450
                    <div class="modal-footer">
                        <input type="hidden" name="csrf" value="{{ @CSRF }}">
                        <repeat group="{{@GET}}" key="{{ @key }}" value="{{ @value }}">
451
                            <input type="hidden" name="{{ @key }}" value="{{ @value }}">
Okhin's avatar
Okhin committed
452
453
454
455
                        </repeat>
                        <a href="{{ 'perso' | alias }}" type="button" class="btn btn-default" data-dismiss="modal">Close</a>
                        <input type="submit" class="btn btn-primary" value="{{ _('Valider') }}">
                    </div>
Okhin's avatar
90    
Okhin committed
456
457
                </div>
            </div>
Okhin's avatar
Okhin committed
458
459
        </form>
    </div>
Okhin's avatar
Okhin committed
460
</check>