perso.html 27.3 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
                    </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>
okhin's avatar
okhin committed
142
                                    <th>{{ _("Piplome") }}</th>
okhin's avatar
okhin committed
143
144
145
146
147
148
                                </tr>
                                <repeat group="{{ @dons_recurrents }}" value="{{ @don }}">
                                <tr>
                                    <td>{{ @don.datec }}</td>
                                    <td>{{ @don.somme }}</td>
                                    <td>{{ _("Oui")}}</td>
Guinness's avatar
Guinness committed
149
150
151
152
153
154
155
156
                                    <td>
                                        <check if="{{ @don.pdf == '' }}">
                                            <a href="/cron/piplome/{{ @don.id }}">{{ _("Générer") }}</a>
                                            <false>
                                                <a href="{{ PIPLOME_URL }}/{{ @don.pdf }}.pdf" target="_blank">{{ @pdfs[@don.pdf].decimale }}.pdf</a>
                                            </false>
                                        </check>
                                    </td>
okhin's avatar
okhin committed
157
158
159
160
161
162
163
                                </tr>
                                </repeat>
                                <repeat group="{{ @dons }}" value="{{ @don }}">
                                <tr>
                                    <td>{{ @don.datec }}</td>
                                    <td>{{ @don.somme }}</td>
                                    <td>{{ _("Non")}}</td>
Guinness's avatar
Guinness committed
164
165
166
167
168
169
170
171
172
                                    <td>
                                        <check if="{{ @don.pdf == '' }}">
                                            <a href="/cron/piplome/{{ @don.id }}">{{ _("Générer") }}</a>
                                            <false>
                                                <a href="{{ PIPLOME_URL }}/{{ @don.pdf }}.pdf" target="_blank">{{ @pdfs[@don.pdf].decimale }}.pdf</a>
                                            </false>
                                        </check>

                                    </td>
okhin's avatar
okhin committed
173
174
                                </tr>
                                </repeat>
okhin's avatar
okhin committed
175
176
177
178
179
180
                            </table>
                            <table class="table text-left">
                                <tr>
                                    <th>{{ _("Date") }}</th>
                                    <th>{{ _("Contreparties") }}</th>
                                </tr>
okhin's avatar
okhin committed
181
182
183
184
185
186
187
                                <repeat group="{{ @contreparties }}" value="{{ @contrepartie }}">
                                <tr>
                                    <td>{{ @contrepartie.datec }}</td>
                                    <td>{{ @contrepartie.quoi }}</td>
                                </tr>
                                </repeat>
                            </table>
okhin's avatar
90    
okhin committed
188
                        </div>
okhin's avatar
okhin committed
189
                    </div>
190
                </div>
okhin's avatar
okhin committed
191
            </div><!-- / Form historique -->
okhin's avatar
90    
okhin committed
192
        </div>
okhin's avatar
okhin committed
193
</section>
Marne's avatar
Marne committed
194
<section id="wrapper" class="text-center fluid">
okhin's avatar
okhin committed
195
196
197
198
199
    <div id="subtitle" class="row">
        <div class="page-header">
            <h2 class="text-left">{{ _("Vos dons")}}</h2>
        </div>
    </div>
Marne's avatar
Marne committed
200
    <div id="vosdons" class="row">
okhin's avatar
okhin committed
201
202
203
204
205
        <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>
206
207
                    </div>
                </div>
okhin's avatar
okhin committed
208
209
210
                <div class="panel-body c-pannelfondblanc">
                    <p class="c-groschiffre">{{ @infos.total }}&nbsp;</p>
                </div>
211
            </div>
okhin's avatar
okhin committed
212
213
214
215
216
217
218
219
220
221
        </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>
222
223
                </div>
            </div>
okhin's avatar
okhin committed
224
225
226
227
        </div><!-- / disponible -->
    </div>
    <div class="row"><!-- nouveau don -->
        <div class="row">
okhin's avatar
okhin committed
228
229
230
            <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>
231
232
233
        </div>
    </div>
</section>
okhin's avatar
okhin committed
234

Marne's avatar
Marne committed
235
<section id="wrapper" class="text-center fluid">
okhin's avatar
okhin committed
236
237
238
239
240
241
242
243
    <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
244
                <label></label>
okhin's avatar
okhin committed
245
246
247
248
249
                <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
250
                                <input type="radio" name="quoi" id="quoi1" class="radio" checked <check if="{{ @infos.cumul < 30 }}">disabled</check> value="piplome">
Marne's avatar
Marne committed
251
                                <label for="quoi1"></label>
okhin's avatar
okhin committed
252
253
254
                            </div>
                            <div class="col-md-3 text-center">
                                <p>
255
                                <img class="" src="/static/img/piplome.svg" alt="">
okhin's avatar
90    
okhin committed
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
                                </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
271
272
273
                            </div>
                        </div>
                    </div>
okhin's avatar
okhin committed
274
275
276
277
278
279
280
                </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
281
                                <input type="radio" class="radio" id="quoi2" name="quoi" <check if="{{ @infos.cumul < 50 }}">disabled</check> value="pibag">
Marne's avatar
Marne committed
282
                                <label for="quoi2"></label>
okhin's avatar
okhin committed
283
284
285
                            </div>
                            <div class="col-md-3 text-center">
                                <p>
Marne's avatar
Marne committed
286
                                <img class="" src="/static/img/pibag2.svg" alt="">
okhin's avatar
okhin committed
287
288
289
290
291
292
                                </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
293
                                        <h5>{{ _("Ainsi que le piplome.") }}</h5>
okhin's avatar
okhin committed
294
295
                                    </label>
                                </div>
okhin's avatar
okhin committed
296
                            </div>
Marne's avatar
Marne committed
297
298
299
                            <div class="c-prixcontrepartie">
                                <p>50&nbsp;</p>
                            </div>
okhin's avatar
okhin committed
300
301
                        </div>
                    </div>
okhin's avatar
okhin committed
302
303
304
305
306
307
308
                </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
309
                                <input type="radio" class="radio" id="quoi3" name="quoi" <check if="{{ @infos.cumul < 100 }}">disabled</check> value="pishirt">
Marne's avatar
Marne committed
310
                                <label for="quoi3"></label>
okhin's avatar
okhin committed
311
312
313
                            </div>
                            <div class="col-md-3 text-center">
                                <p>
Marne's avatar
Marne committed
314
                                <img class="" src="/static/img/pishirt2.svg" alt="">
okhin's avatar
okhin committed
315
316
317
318
319
320
                                </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
321
                                        <h5>{{ _("Ainsi que le piplome et le pibag.") }}</h5>
okhin's avatar
okhin committed
322
323
324
325
326
327
328
329
330
331
                                    </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
332
333
334
335
                                </div>
                            </div>
                            <div class="c-prixcontrepartie">
                                <p>100&nbsp;</p>
okhin's avatar
okhin committed
336
                            </div>
337
                        </div>
okhin's avatar
okhin committed
338
                    </div>
okhin's avatar
okhin committed
339
340
341
342
343
344
345
                </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
346
                                <input type="radio" class="radio" id="quoi4" name="quoi"<check if="{{ @infos.cumul < 250 }}">disabled</check> value="hoopie">
Marne's avatar
Marne committed
347
                                <label for="quoi4"></label>
okhin's avatar
okhin committed
348
349
350
                            </div>
                            <div class="col-md-3 text-center">
                                <p>
Marne's avatar
Marne committed
351
                                <img class="media-object" src="/static/img/hoopie2.svg" alt="">
okhin's avatar
okhin committed
352
353
354
355
356
357
                                </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
358
                                        <h5>{{ _("Ainsi que le pi-shirt, le piplome et le pibag.") }}</h5>
okhin's avatar
okhin committed
359
360
361
362
363
364
365
366
367
368
                                    </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
369
370
371
372
                                </div>
                            </div>
                            <div class="c-prixcontrepartie">
                                <p>250&nbsp;</p>
373
374
375
                            </div>
                        </div>
                    </div>
okhin's avatar
okhin committed
376
377
                </div><!-- / Hoopi -->
                </check>
okhin's avatar
okhin committed
378
379
                <check if="{{ @adresse }}">
                <true>
okhin's avatar
okhin committed
380
381
382
                <div class="col-md-8 col-md-offset-2">
                    <h3>{{ _("Expedier à&nbsp;:")}} {{ @adresse.nom }} {{ @adresse.adresse }}</h3>
                </div>
okhin's avatar
okhin committed
383
384
385
386
387
388
                </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>
Marne's avatar
Marne committed
389
                </check>
okhin's avatar
okhin committed
390
                <div class="col-md-8 col-md-offset-2"><!-- Bouton -->
okhin's avatar
okhin committed
391
                    <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
392
393
394
                </div><!-- / bouton -->
            </form>
        </div>
okhin's avatar
okhin committed
395
396
397
398
    </div>
</section>

<!-- Modale de confirmation -->
okhin's avatar
90    
okhin committed
399
<!-- On utilise un GET /perso avec le formulaire précent pour peupler la modale -->
okhin's avatar
okhin committed
400
401
402
403
<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
404
405
            <div class="modal-content c-modale">
                <div class="modal-body">
406
                    <h3>{{ _("Envoyer à l'adresse&nbsp;:") }}</h3>
407
                    <p class="addressmodal">
okhin's avatar
okhin committed
408
409
410
411
412
413
414
415
416
417
418
                    {{ @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 }}
419
420
                    </p>
                    <h3>{{ _("Récapitulatif&nbsp;:") }}</h3>
okhin's avatar
okhin committed
421
422
423
424
425
426
427
                    <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">
428
                                {{ _("Un piplôme") }}
okhin's avatar
okhin committed
429
430
431
432
433
434
                            </div>
                        </li>
                        </check>
                        <check if="{{ in_array(@GET['quoi'], array('pibag', 'pishirt', 'hoopie')) }}">
                        <li class="media">
                            <div class="media-left">
435
                                <img class="media-object" src="/static/img/pibag2.svg" alt="">
okhin's avatar
okhin committed
436
437
                            </div>
                            <div class="media-body">
Marne's avatar
Marne committed
438
                                {{ _("Un pibag") }}
okhin's avatar
okhin committed
439
440
441
442
443
444
                            </div>
                        </li>
                        </check>
                        <check if="{{ in_array(@GET['quoi'], array('pishirt', 'hoopie')) }}">
                        <li class="media">
                            <div class="media-left">
445
                                <img class="media-object" src="/static/img/pishirt2.svg" alt="">
okhin's avatar
okhin committed
446
447
                            </div>
                            <div class="media-body">
okhin's avatar
okhin committed
448
                                {{ _("Un pi-shirt") }} ({{@atailles[@GET['taille']]}})
okhin's avatar
okhin committed
449
450
451
452
453
454
                            </div>
                        </li>
                        </check>
                        <check if="{{ in_array(@GET['quoi'], array('hoopie')) }}">
                        <li class="media">
                            <div class="media-left">
455
                                <img class="media-object" src="/static/img/hoopie2.svg" alt="">
okhin's avatar
okhin committed
456
457
                            </div>
                            <div class="media-body">
okhin's avatar
okhin committed
458
                                {{ _("Un hoopie") }} ({{@atailles[@GET['taille_h']]}})
okhin's avatar
okhin committed
459
460
461
462
                            </div>
                        </li>
                        </check>
                    </ul>
463
464
                </div>
                <div class="form-group text-left">
Marne's avatar
Marne committed
465
                    <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>
466
                    <textarea class="form-control" id="commentaire" name="commentaire" placeholder="" row="3"></textarea>
okhin's avatar
okhin committed
467
468
469
                    <div class="modal-footer">
                        <input type="hidden" name="csrf" value="{{ @CSRF }}">
                        <repeat group="{{@GET}}" key="{{ @key }}" value="{{ @value }}">
470
                            <input type="hidden" name="{{ @key }}" value="{{ @value }}">
okhin's avatar
okhin committed
471
472
473
474
                        </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
475
476
                </div>
            </div>
okhin's avatar
okhin committed
477
478
        </form>
    </div>
okhin's avatar
okhin committed
479
</check>