Browse Source

Merge branch 'country-list-complete' of max.mehl/pmpc-website into master

pull/151/head
Max Mehl 1 year ago
parent
commit
91f48f83c4
2 changed files with 986 additions and 29 deletions
  1. 982
    0
      site/data/countries/countries.json
  2. 4
    29
      site/layouts/partials/functions/sign-form.html

+ 982
- 0
site/data/countries/countries.json View File

@@ -0,0 +1,982 @@
1
+[
2
+  {
3
+    "name": "Afghanistan",
4
+    "genc2a": "AF",
5
+    "genc3a": "AFG"
6
+  },
7
+  {
8
+    "name": "Albania",
9
+    "genc2a": "AL",
10
+    "genc3a": "ALB"
11
+  },
12
+  {
13
+    "name": "Algeria",
14
+    "genc2a": "DZ",
15
+    "genc3a": "DZA"
16
+  },
17
+  {
18
+    "name": "Andorra",
19
+    "genc2a": "AD",
20
+    "genc3a": "AND"
21
+  },
22
+  {
23
+    "name": "Angola",
24
+    "genc2a": "AO",
25
+    "genc3a": "AGO"
26
+  },
27
+  {
28
+    "name": "Antigua and Barbuda",
29
+    "genc2a": "AG",
30
+    "genc3a": "ATG"
31
+  },
32
+  {
33
+    "name": "Argentina",
34
+    "genc2a": "AR",
35
+    "genc3a": "ARG"
36
+  },
37
+  {
38
+    "name": "Armenia",
39
+    "genc2a": "AM",
40
+    "genc3a": "ARM"
41
+  },
42
+  {
43
+    "name": "Australia",
44
+    "genc2a": "AU",
45
+    "genc3a": "AUS"
46
+  },
47
+  {
48
+    "name": "Austria",
49
+    "genc2a": "AT",
50
+    "genc3a": "AUT"
51
+  },
52
+  {
53
+    "name": "Azerbaijan",
54
+    "genc2a": "AZ",
55
+    "genc3a": "AZE"
56
+  },
57
+  {
58
+    "name": "Bahamas",
59
+    "genc2a": "BS",
60
+    "genc3a": "BHS"
61
+  },
62
+  {
63
+    "name": "Bahrain",
64
+    "genc2a": "BH",
65
+    "genc3a": "BHR"
66
+  },
67
+  {
68
+    "name": "Bangladesh",
69
+    "genc2a": "BD",
70
+    "genc3a": "BGD"
71
+  },
72
+  {
73
+    "name": "Barbados",
74
+    "genc2a": "BB",
75
+    "genc3a": "BRB"
76
+  },
77
+  {
78
+    "name": "Belarus",
79
+    "genc2a": "BY",
80
+    "genc3a": "BLR"
81
+  },
82
+  {
83
+    "name": "Belgium",
84
+    "genc2a": "BE",
85
+    "genc3a": "BEL"
86
+  },
87
+  {
88
+    "name": "Belize",
89
+    "genc2a": "BZ",
90
+    "genc3a": "BLZ"
91
+  },
92
+  {
93
+    "name": "Benin",
94
+    "genc2a": "BJ",
95
+    "genc3a": "BEN"
96
+  },
97
+  {
98
+    "name": "Bhutan",
99
+    "genc2a": "BT",
100
+    "genc3a": "BTN"
101
+  },
102
+  {
103
+    "name": "Bolivia",
104
+    "genc2a": "BO",
105
+    "genc3a": "BOL"
106
+  },
107
+  {
108
+    "name": "Bosnia and Herzegovina",
109
+    "genc2a": "BA",
110
+    "genc3a": "BIH"
111
+  },
112
+  {
113
+    "name": "Botswana",
114
+    "genc2a": "BW",
115
+    "genc3a": "BWA"
116
+  },
117
+  {
118
+    "name": "Brazil",
119
+    "genc2a": "BR",
120
+    "genc3a": "BRA"
121
+  },
122
+  {
123
+    "name": "Brunei",
124
+    "genc2a": "BN",
125
+    "genc3a": "BRN"
126
+  },
127
+  {
128
+    "name": "Bulgaria",
129
+    "genc2a": "BG",
130
+    "genc3a": "BGR"
131
+  },
132
+  {
133
+    "name": "Burkina Faso",
134
+    "genc2a": "BF",
135
+    "genc3a": "BFA"
136
+  },
137
+  {
138
+    "name": "Burma",
139
+    "genc2a": "MM",
140
+    "genc3a": "MMR"
141
+  },
142
+  {
143
+    "name": "Burundi",
144
+    "genc2a": "BI",
145
+    "genc3a": "BDI"
146
+  },
147
+  {
148
+    "name": "Cabo Verde",
149
+    "genc2a": "CV",
150
+    "genc3a": "CPV"
151
+  },
152
+  {
153
+    "name": "Cambodia",
154
+    "genc2a": "KH",
155
+    "genc3a": "KHM"
156
+  },
157
+  {
158
+    "name": "Cameroon",
159
+    "genc2a": "CM",
160
+    "genc3a": "CMR"
161
+  },
162
+  {
163
+    "name": "Canada",
164
+    "genc2a": "CA",
165
+    "genc3a": "CAN"
166
+  },
167
+  {
168
+    "name": "Central African Republic",
169
+    "genc2a": "CF",
170
+    "genc3a": "CAF"
171
+  },
172
+  {
173
+    "name": "Chad",
174
+    "genc2a": "TD",
175
+    "genc3a": "TCD"
176
+  },
177
+  {
178
+    "name": "Chile",
179
+    "genc2a": "CL",
180
+    "genc3a": "CHL"
181
+  },
182
+  {
183
+    "name": "China",
184
+    "genc2a": "CN",
185
+    "genc3a": "CHN"
186
+  },
187
+  {
188
+    "name": "Colombia",
189
+    "genc2a": "CO",
190
+    "genc3a": "COL"
191
+  },
192
+  {
193
+    "name": "Comoros",
194
+    "genc2a": "KM",
195
+    "genc3a": "COM"
196
+  },
197
+  {
198
+    "name": "Republic of the Congo",
199
+    "genc2a": "CG",
200
+    "genc3a": "COG"
201
+  },
202
+  {
203
+    "name": "Democratic Republic of the Congo",
204
+    "genc2a": "CD",
205
+    "genc3a": "COD"
206
+  },
207
+  {
208
+    "name": "Costa Rica",
209
+    "genc2a": "CR",
210
+    "genc3a": "CRI"
211
+  },
212
+  {
213
+    "name": "Côte d'Ivoire",
214
+    "genc2a": "CI",
215
+    "genc3a": "CIV"
216
+  },
217
+  {
218
+    "name": "Croatia",
219
+    "genc2a": "HR",
220
+    "genc3a": "HRV"
221
+  },
222
+  {
223
+    "name": "Cuba",
224
+    "genc2a": "CU",
225
+    "genc3a": "CUB"
226
+  },
227
+  {
228
+    "name": "Cyprus",
229
+    "genc2a": "CY",
230
+    "genc3a": "CYP"
231
+  },
232
+  {
233
+    "name": "Czech Republic",
234
+    "genc2a": "CZ",
235
+    "genc3a": "CZE"
236
+  },
237
+  {
238
+    "name": "Denmark",
239
+    "genc2a": "DK",
240
+    "genc3a": "DNK"
241
+  },
242
+  {
243
+    "name": "Djibouti",
244
+    "genc2a": "DJ",
245
+    "genc3a": "DJI"
246
+  },
247
+  {
248
+    "name": "Dominica",
249
+    "genc2a": "DM",
250
+    "genc3a": "DMA"
251
+  },
252
+  {
253
+    "name": "Dominican Republic",
254
+    "genc2a": "DO",
255
+    "genc3a": "DOM"
256
+  },
257
+  {
258
+    "name": "Ecuador",
259
+    "genc2a": "EC",
260
+    "genc3a": "ECU"
261
+  },
262
+  {
263
+    "name": "Egypt",
264
+    "genc2a": "EG",
265
+    "genc3a": "EGY"
266
+  },
267
+  {
268
+    "name": "El Salvador",
269
+    "genc2a": "SV",
270
+    "genc3a": "SLV"
271
+  },
272
+  {
273
+    "name": "Equatorial Guinea",
274
+    "genc2a": "GQ",
275
+    "genc3a": "GNQ"
276
+  },
277
+  {
278
+    "name": "Eritrea",
279
+    "genc2a": "ER",
280
+    "genc3a": "ERI"
281
+  },
282
+  {
283
+    "name": "Estonia",
284
+    "genc2a": "EE",
285
+    "genc3a": "EST"
286
+  },
287
+  {
288
+    "name": "Ethiopia",
289
+    "genc2a": "ET",
290
+    "genc3a": "ETH"
291
+  },
292
+  {
293
+    "name": "Fiji",
294
+    "genc2a": "FJ",
295
+    "genc3a": "FJI"
296
+  },
297
+  {
298
+    "name": "Finland",
299
+    "genc2a": "FI",
300
+    "genc3a": "FIN"
301
+  },
302
+  {
303
+    "name": "France",
304
+    "genc2a": "FR",
305
+    "genc3a": "FRA"
306
+  },
307
+  {
308
+    "name": "Gabon",
309
+    "genc2a": "GA",
310
+    "genc3a": "GAB"
311
+  },
312
+  {
313
+    "name": "Gambia",
314
+    "genc2a": "GM",
315
+    "genc3a": "GMB"
316
+  },
317
+  {
318
+    "name": "Georgia",
319
+    "genc2a": "GE",
320
+    "genc3a": "GEO"
321
+  },
322
+  {
323
+    "name": "Germany",
324
+    "genc2a": "DE",
325
+    "genc3a": "DEU"
326
+  },
327
+  {
328
+    "name": "Ghana",
329
+    "genc2a": "GH",
330
+    "genc3a": "GHA"
331
+  },
332
+  {
333
+    "name": "Greece",
334
+    "genc2a": "GR",
335
+    "genc3a": "GRC"
336
+  },
337
+  {
338
+    "name": "Grenada",
339
+    "genc2a": "GD",
340
+    "genc3a": "GRD"
341
+  },
342
+  {
343
+    "name": "Guatemala",
344
+    "genc2a": "GT",
345
+    "genc3a": "GTM"
346
+  },
347
+  {
348
+    "name": "Guinea",
349
+    "genc2a": "GN",
350
+    "genc3a": "GIN"
351
+  },
352
+  {
353
+    "name": "Guinea-Bissau",
354
+    "genc2a": "GW",
355
+    "genc3a": "GNB"
356
+  },
357
+  {
358
+    "name": "Guyana",
359
+    "genc2a": "GY",
360
+    "genc3a": "GUY"
361
+  },
362
+  {
363
+    "name": "Haiti",
364
+    "genc2a": "HT",
365
+    "genc3a": "HTI"
366
+  },
367
+  {
368
+    "name": "Vatican",
369
+    "genc2a": "VA",
370
+    "genc3a": "VAT"
371
+  },
372
+  {
373
+    "name": "Honduras",
374
+    "genc2a": "HN",
375
+    "genc3a": "HND"
376
+  },
377
+  {
378
+    "name": "Hungary",
379
+    "genc2a": "HU",
380
+    "genc3a": "HUN"
381
+  },
382
+  {
383
+    "name": "Iceland",
384
+    "genc2a": "IS",
385
+    "genc3a": "ISL"
386
+  },
387
+  {
388
+    "name": "India",
389
+    "genc2a": "IN",
390
+    "genc3a": "IND"
391
+  },
392
+  {
393
+    "name": "Indonesia",
394
+    "genc2a": "ID",
395
+    "genc3a": "IDN"
396
+  },
397
+  {
398
+    "name": "Iran",
399
+    "genc2a": "IR",
400
+    "genc3a": "IRN"
401
+  },
402
+  {
403
+    "name": "Iraq",
404
+    "genc2a": "IQ",
405
+    "genc3a": "IRQ"
406
+  },
407
+  {
408
+    "name": "Ireland",
409
+    "genc2a": "IE",
410
+    "genc3a": "IRL"
411
+  },
412
+  {
413
+    "name": "Israel",
414
+    "genc2a": "IL",
415
+    "genc3a": "ISR"
416
+  },
417
+  {
418
+    "name": "Italy",
419
+    "genc2a": "IT",
420
+    "genc3a": "ITA"
421
+  },
422
+  {
423
+    "name": "Jamaica",
424
+    "genc2a": "JM",
425
+    "genc3a": "JAM"
426
+  },
427
+  {
428
+    "name": "Japan",
429
+    "genc2a": "JP",
430
+    "genc3a": "JPN"
431
+  },
432
+  {
433
+    "name": "Jordan",
434
+    "genc2a": "JO",
435
+    "genc3a": "JOR"
436
+  },
437
+  {
438
+    "name": "Kazakhstan",
439
+    "genc2a": "KZ",
440
+    "genc3a": "KAZ"
441
+  },
442
+  {
443
+    "name": "Kenya",
444
+    "genc2a": "KE",
445
+    "genc3a": "KEN"
446
+  },
447
+  {
448
+    "name": "Kiribati",
449
+    "genc2a": "KI",
450
+    "genc3a": "KIR"
451
+  },
452
+  {
453
+    "name": "North Korea",
454
+    "genc2a": "KP",
455
+    "genc3a": "PRK"
456
+  },
457
+  {
458
+    "name": "South Korea",
459
+    "genc2a": "KR",
460
+    "genc3a": "KOR"
461
+  },
462
+  {
463
+    "name": "Kosovo",
464
+    "genc2a": "XK",
465
+    "genc3a": "XKS"
466
+  },
467
+  {
468
+    "name": "Kuwait",
469
+    "genc2a": "KW",
470
+    "genc3a": "KWT"
471
+  },
472
+  {
473
+    "name": "Kyrgyzstan",
474
+    "genc2a": "KG",
475
+    "genc3a": "KGZ"
476
+  },
477
+  {
478
+    "name": "Laos",
479
+    "genc2a": "LA",
480
+    "genc3a": "LAO"
481
+  },
482
+  {
483
+    "name": "Latvia",
484
+    "genc2a": "LV",
485
+    "genc3a": "LVA"
486
+  },
487
+  {
488
+    "name": "Lebanon",
489
+    "genc2a": "LB",
490
+    "genc3a": "LBN"
491
+  },
492
+  {
493
+    "name": "Lesotho",
494
+    "genc2a": "LS",
495
+    "genc3a": "LSO"
496
+  },
497
+  {
498
+    "name": "Liberia",
499
+    "genc2a": "LR",
500
+    "genc3a": "LBR"
501
+  },
502
+  {
503
+    "name": "Libya",
504
+    "genc2a": "LY",
505
+    "genc3a": "LBY"
506
+  },
507
+  {
508
+    "name": "Liechtenstein",
509
+    "genc2a": "LI",
510
+    "genc3a": "LIE"
511
+  },
512
+  {
513
+    "name": "Lithuania",
514
+    "genc2a": "LY",
515
+    "genc3a": "LTU"
516
+  },
517
+  {
518
+    "name": "Luxembourg",
519
+    "genc2a": "LU",
520
+    "genc3a": "LUX"
521
+  },
522
+  {
523
+    "name": "Macedonia",
524
+    "genc2a": "MK",
525
+    "genc3a": "MKD"
526
+  },
527
+  {
528
+    "name": "Madagascar",
529
+    "genc2a": "MG",
530
+    "genc3a": "MDG"
531
+  },
532
+  {
533
+    "name": "Malawi",
534
+    "genc2a": "MW",
535
+    "genc3a": "MWI"
536
+  },
537
+  {
538
+    "name": "Malaysia",
539
+    "genc2a": "MY",
540
+    "genc3a": "MYS"
541
+  },
542
+  {
543
+    "name": "Maldives",
544
+    "genc2a": "MV",
545
+    "genc3a": "MDV"
546
+  },
547
+  {
548
+    "name": "Mali",
549
+    "genc2a": "ML",
550
+    "genc3a": "MLI"
551
+  },
552
+  {
553
+    "name": "Malta",
554
+    "genc2a": "MT",
555
+    "genc3a": "MLT"
556
+  },
557
+  {
558
+    "name": "Marshall Islands",
559
+    "genc2a": "MH",
560
+    "genc3a": "MHL"
561
+  },
562
+  {
563
+    "name": "Mauritania",
564
+    "genc2a": "MR",
565
+    "genc3a": "MRT"
566
+  },
567
+  {
568
+    "name": "Mauritius",
569
+    "genc2a": "MU",
570
+    "genc3a": "MUS"
571
+  },
572
+  {
573
+    "name": "Mexico",
574
+    "genc2a": "MX",
575
+    "genc3a": "MEX"
576
+  },
577
+  {
578
+    "name": "Micronesia, Federated States of",
579
+    "genc2a": "FM",
580
+    "genc3a": "FSM"
581
+  },
582
+  {
583
+    "name": "Moldova",
584
+    "genc2a": "MD",
585
+    "genc3a": "MDA"
586
+  },
587
+  {
588
+    "name": "Monaco",
589
+    "genc2a": "MC",
590
+    "genc3a": "MCO"
591
+  },
592
+  {
593
+    "name": "Mongolia",
594
+    "genc2a": "MN",
595
+    "genc3a": "MNG"
596
+  },
597
+  {
598
+    "name": "Montenegro",
599
+    "genc2a": "ME",
600
+    "genc3a": "MNE"
601
+  },
602
+  {
603
+    "name": "Morocco",
604
+    "genc2a": "MA",
605
+    "genc3a": "MAR"
606
+  },
607
+  {
608
+    "name": "Mozambique",
609
+    "genc2a": "MZ",
610
+    "genc3a": "MOZ"
611
+  },
612
+  {
613
+    "name": "Namibia",
614
+    "genc2a": "NA",
615
+    "genc3a": "NAM"
616
+  },
617
+  {
618
+    "name": "Nauru",
619
+    "genc2a": "NR",
620
+    "genc3a": "NRU"
621
+  },
622
+  {
623
+    "name": "Nepal",
624
+    "genc2a": "NP",
625
+    "genc3a": "NPL"
626
+  },
627
+  {
628
+    "name": "Netherlands",
629
+    "genc2a": "NL",
630
+    "genc3a": "NLD"
631
+  },
632
+  {
633
+    "name": "New Zealand",
634
+    "genc2a": "NZ",
635
+    "genc3a": "NZL"
636
+  },
637
+  {
638
+    "name": "Nicaragua",
639
+    "genc2a": "NI",
640
+    "genc3a": "NIC"
641
+  },
642
+  {
643
+    "name": "Niger",
644
+    "genc2a": "NE",
645
+    "genc3a": "NER"
646
+  },
647
+  {
648
+    "name": "Nigeria",
649
+    "genc2a": "NG",
650
+    "genc3a": "NGA"
651
+  },
652
+  {
653
+    "name": "Norway",
654
+    "genc2a": "NO",
655
+    "genc3a": "NOR"
656
+  },
657
+  {
658
+    "name": "Oman",
659
+    "genc2a": "OM",
660
+    "genc3a": "OMN"
661
+  },
662
+  {
663
+    "name": "Pakistan",
664
+    "genc2a": "PK",
665
+    "genc3a": "PAK"
666
+  },
667
+  {
668
+    "name": "Palau",
669
+    "genc2a": "PW",
670
+    "genc3a": "PLW"
671
+  },
672
+  {
673
+    "name": "Panama",
674
+    "genc2a": "PA",
675
+    "genc3a": "PAN"
676
+  },
677
+  {
678
+    "name": "Papua New Guinea",
679
+    "genc2a": "PG",
680
+    "genc3a": "PNG"
681
+  },
682
+  {
683
+    "name": "Paraguay",
684
+    "genc2a": "PY",
685
+    "genc3a": "PRY"
686
+  },
687
+  {
688
+    "name": "Peru",
689
+    "genc2a": "PE",
690
+    "genc3a": "PER"
691
+  },
692
+  {
693
+    "name": "Philippines",
694
+    "genc2a": "PH",
695
+    "genc3a": "PHL"
696
+  },
697
+  {
698
+    "name": "Poland",
699
+    "genc2a": "PL",
700
+    "genc3a": "POL"
701
+  },
702
+  {
703
+    "name": "Portugal",
704
+    "genc2a": "PT",
705
+    "genc3a": "PRT"
706
+  },
707
+  {
708
+    "name": "Qatar",
709
+    "genc2a": "QA",
710
+    "genc3a": "QAT"
711
+  },
712
+  {
713
+    "name": "Romania",
714
+    "genc2a": "RO",
715
+    "genc3a": "ROU"
716
+  },
717
+  {
718
+    "name": "Russia",
719
+    "genc2a": "RU",
720
+    "genc3a": "RUS"
721
+  },
722
+  {
723
+    "name": "Rwanda",
724
+    "genc2a": "RW",
725
+    "genc3a": "RWA"
726
+  },
727
+  {
728
+    "name": "Saint Kitts and Nevis",
729
+    "genc2a": "KN",
730
+    "genc3a": "KNA"
731
+  },
732
+  {
733
+    "name": "Saint Lucia",
734
+    "genc2a": "LC",
735
+    "genc3a": "LCA"
736
+  },
737
+  {
738
+    "name": "Saint Vincent and the Grenadines",
739
+    "genc2a": "VC",
740
+    "genc3a": "VCT"
741
+  },
742
+  {
743
+    "name": "Samoa",
744
+    "genc2a": "WS",
745
+    "genc3a": "WSM"
746
+  },
747
+  {
748
+    "name": "San Marino",
749
+    "genc2a": "SM",
750
+    "genc3a": "SMR"
751
+  },
752
+  {
753
+    "name": "Sao Tome and Principe",
754
+    "genc2a": "ST",
755
+    "genc3a": "STP"
756
+  },
757
+  {
758
+    "name": "Saudi Arabia",
759
+    "genc2a": "SA",
760
+    "genc3a": "SAU"
761
+  },
762
+  {
763
+    "name": "Senegal",
764
+    "genc2a": "SN",
765
+    "genc3a": "SEN"
766
+  },
767
+  {
768
+    "name": "Serbia",
769
+    "genc2a": "RS",
770
+    "genc3a": "SRB"
771
+  },
772
+  {
773
+    "name": "Seychelles",
774
+    "genc2a": "SC",
775
+    "genc3a": "SYC"
776
+  },
777
+  {
778
+    "name": "Sierra Leone",
779
+    "genc2a": "SL",
780
+    "genc3a": "SLE"
781
+  },
782
+  {
783
+    "name": "Singapore",
784
+    "genc2a": "SG",
785
+    "genc3a": "SGP"
786
+  },
787
+  {
788
+    "name": "Slovakia",
789
+    "genc2a": "SK",
790
+    "genc3a": "SVK"
791
+  },
792
+  {
793
+    "name": "Slovenia",
794
+    "genc2a": "SI",
795
+    "genc3a": "SVN"
796
+  },
797
+  {
798
+    "name": "Solomon Islands",
799
+    "genc2a": "SB",
800
+    "genc3a": "SLB"
801
+  },
802
+  {
803
+    "name": "Somalia",
804
+    "genc2a": "SO",
805
+    "genc3a": "SOM"
806
+  },
807
+  {
808
+    "name": "South Africa",
809
+    "genc2a": "ZA",
810
+    "genc3a": "ZAF"
811
+  },
812
+  {
813
+    "name": "South Sudan",
814
+    "genc2a": "SS",
815
+    "genc3a": "SSD"
816
+  },
817
+  {
818
+    "name": "Spain",
819
+    "genc2a": "ES",
820
+    "genc3a": "ESP"
821
+  },
822
+  {
823
+    "name": "Sri Lanka",
824
+    "genc2a": "LK",
825
+    "genc3a": "LKA"
826
+  },
827
+  {
828
+    "name": "Sudan",
829
+    "genc2a": "SD",
830
+    "genc3a": "SDN"
831
+  },
832
+  {
833
+    "name": "Suriname",
834
+    "genc2a": "SR",
835
+    "genc3a": "SUR"
836
+  },
837
+  {
838
+    "name": "Swaziland",
839
+    "genc2a": "SZ",
840
+    "genc3a": "SWZ"
841
+  },
842
+  {
843
+    "name": "Sweden",
844
+    "genc2a": "SE",
845
+    "genc3a": "SWE"
846
+  },
847
+  {
848
+    "name": "Switzerland",
849
+    "genc2a": "CH",
850
+    "genc3a": "CHE"
851
+  },
852
+  {
853
+    "name": "Syria",
854
+    "genc2a": "SY",
855
+    "genc3a": "SYR"
856
+  },
857
+  {
858
+    "name": "Taiwan",
859
+    "genc2a": "TW",
860
+    "genc3a": "TWN"
861
+  },
862
+  {
863
+    "name": "Tajikistan",
864
+    "genc2a": "TJ",
865
+    "genc3a": "TJK"
866
+  },
867
+  {
868
+    "name": "Tanzania",
869
+    "genc2a": "TZ",
870
+    "genc3a": "TZA"
871
+  },
872
+  {
873
+    "name": "Thailand",
874
+    "genc2a": "TH",
875
+    "genc3a": "THA"
876
+  },
877
+  {
878
+    "name": "Timor-Leste",
879
+    "genc2a": "TL",
880
+    "genc3a": "TLS"
881
+  },
882
+  {
883
+    "name": "Togo",
884
+    "genc2a": "TG",
885
+    "genc3a": "TGO"
886
+  },
887
+  {
888
+    "name": "Tonga",
889
+    "genc2a": "TO",
890
+    "genc3a": "TON"
891
+  },
892
+  {
893
+    "name": "Trinidad and Tobago",
894
+    "genc2a": "TT",
895
+    "genc3a": "TTO"
896
+  },
897
+  {
898
+    "name": "Tunisia",
899
+    "genc2a": "TN",
900
+    "genc3a": "TUN"
901
+  },
902
+  {
903
+    "name": "Turkey",
904
+    "genc2a": "TR",
905
+    "genc3a": "TUR"
906
+  },
907
+  {
908
+    "name": "Turkmenistan",
909
+    "genc2a": "TM",
910
+    "genc3a": "TKM"
911
+  },
912
+  {
913
+    "name": "Tuvalu",
914
+    "genc2a": "TV",
915
+    "genc3a": "TUV"
916
+  },
917
+  {
918
+    "name": "Uganda",
919
+    "genc2a": "UG",
920
+    "genc3a": "UGA"
921
+  },
922
+  {
923
+    "name": "Ukraine",
924
+    "genc2a": "UA",
925
+    "genc3a": "UKR"
926
+  },
927
+  {
928
+    "name": "United Arab Emirates",
929
+    "genc2a": "AE",
930
+    "genc3a": "ARE"
931
+  },
932
+  {
933
+    "name": "United Kingdom",
934
+    "genc2a": "GB",
935
+    "genc3a": "GBR"
936
+  },
937
+  {
938
+    "name": "United States",
939
+    "genc2a": "US",
940
+    "genc3a": "USA"
941
+  },
942
+  {
943
+    "name": "Uruguay",
944
+    "genc2a": "UY",
945
+    "genc3a": "URY"
946
+  },
947
+  {
948
+    "name": "Uzbekistan",
949
+    "genc2a": "UZ",
950
+    "genc3a": "UZB"
951
+  },
952
+  {
953
+    "name": "Vanuatu",
954
+    "genc2a": "VU",
955
+    "genc3a": "VUT"
956
+  },
957
+  {
958
+    "name": "Venezuela",
959
+    "genc2a": "VE",
960
+    "genc3a": "VEN"
961
+  },
962
+  {
963
+    "name": "Vietnam",
964
+    "genc2a": "VN",
965
+    "genc3a": "VNM"
966
+  },
967
+  {
968
+    "name": "Yemen",
969
+    "genc2a": "YE",
970
+    "genc3a": "YEM"
971
+  },
972
+  {
973
+    "name": "Zambia",
974
+    "genc2a": "ZM",
975
+    "genc3a": "ZMB"
976
+  },
977
+  {
978
+    "name": "Zimbabwe",
979
+    "genc2a": "ZW",
980
+    "genc3a": "ZWE"
981
+  }
982
+]

+ 4
- 29
site/layouts/partials/functions/sign-form.html View File

@@ -10,35 +10,10 @@
10 10
   <label class="sign-input form-cn">
11 11
     <select name="country">
12 12
       <option value="">{{ .Site.Params.action.form.country }}</option>
13
-      <option value="Austria">Austria</option>
14
-      <option value="Belgium">Belgium</option>
15
-      <option value="Bulgaria">Bulgaria</option>
16
-      <option value="Croatia">Croatia</option>
17
-      <option value="Cyprus">Cyprus</option>
18
-      <option value="Czech Republic">Czech Republic</option>
19
-      <option value="Denmark">Denmark</option>
20
-      <option value="Estonia">Estonia</option>
21
-      <option value="Finland">Finland</option>
22
-      <option value="France">France</option>
23
-      <option value="Germany">Germany</option>
24
-      <option value="Greece">Greece</option>
25
-      <option value="Hungary">Hungary</option>
26
-      <option value="Ireland">Ireland</option>
27
-      <option value="Italy">Italy</option>
28
-      <option value="Latvia">Latvia</option>
29
-      <option value="Lithuania">Lithuania</option>
30
-      <option value="Luxembourg">Luxembourg</option>
31
-      <option value="Malta">Malta</option>
32
-      <option value="Netherlands">Netherlands</option>
33
-      <option value="Poland">Poland</option>
34
-      <option value="Portugal">Portugal</option>
35
-      <option value="Romania">Romania</option>
36
-      <option value="Slovakia">Slovakia</option>
37
-      <option value="Slovenia">Slovenia</option>
38
-      <option value="Spain">Spain</option>
39
-      <option value="Sweden">Sweden</option>
40
-      <option value="United Kingdom">United Kingdom</option>
41
-      <option value="Outside the EU">Outside the EU</option>
13
+      {{ $json := getJSON "data/countries/countries.json" }}
14
+      {{ range sort $json "name" "asc" }}
15
+        <option value="{{ .name }}">{{ .name }}</option>
16
+      {{ end }}
42 17
     </select>
43 18
   </label>
44 19
   <label class="sign-input form-zp">

Loading…
Cancel
Save