@@ -30,24 +30,24 @@ |
||
30 | 30 | ->add('type', ChoiceType::class, [ |
31 | 31 | 'label' => 'sylius.form.credit_card.type', |
32 | 32 | 'expanded' => true, |
33 | - ]) |
|
34 | - ->add('cardholderName', TextType::class, [ |
|
33 | + ]) |
|
34 | + ->add('cardholderName', TextType::class, [ |
|
35 | 35 | 'label' => 'sylius.form.credit_card.cardholder_name', |
36 | - ]) |
|
37 | - ->add('number', TextType::class, [ |
|
38 | - 'label' => 'sylius.form.credit_card.number', |
|
39 | - ]) |
|
40 | - ->add('securityCode', TextType::class, [ |
|
41 | - 'label' => 'sylius.form.credit_card.security_code', |
|
42 | - ]) |
|
43 | - ->add('expiryMonth', ChoiceType::class, [ |
|
44 | - 'label' => 'sylius.form.credit_card.expiry_month', |
|
45 | - 'choices' => $this->getMonthChoices(), |
|
46 | - ]) |
|
47 | - ->add('expiryYear', ChoiceType::class, [ |
|
48 | - 'label' => 'sylius.form.credit_card.expiry_year', |
|
49 | - 'choices' => $this->getViableYears(), |
|
50 | - ]) |
|
36 | + ]) |
|
37 | + ->add('number', TextType::class, [ |
|
38 | + 'label' => 'sylius.form.credit_card.number', |
|
39 | + ]) |
|
40 | + ->add('securityCode', TextType::class, [ |
|
41 | + 'label' => 'sylius.form.credit_card.security_code', |
|
42 | + ]) |
|
43 | + ->add('expiryMonth', ChoiceType::class, [ |
|
44 | + 'label' => 'sylius.form.credit_card.expiry_month', |
|
45 | + 'choices' => $this->getMonthChoices(), |
|
46 | + ]) |
|
47 | + ->add('expiryYear', ChoiceType::class, [ |
|
48 | + 'label' => 'sylius.form.credit_card.expiry_year', |
|
49 | + 'choices' => $this->getViableYears(), |
|
50 | + ]) |
|
51 | 51 | ; |
52 | 52 | } |
53 | 53 |