Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Select an option

  • Save sean-e-dietrich/680180bb5934ba2f20089de935229f9b to your computer and use it in GitHub Desktop.

Select an option

Save sean-e-dietrich/680180bb5934ba2f20089de935229f9b to your computer and use it in GitHub Desktop.
Payments
diff --git a/src/Element/PaymentLineItemsDisplay.php b/src/Element/PaymentLineItemsDisplay.php
index 2374b093..79dfccdd 100644
--- a/src/Element/PaymentLineItemsDisplay.php
+++ b/src/Element/PaymentLineItemsDisplay.php
@@ -133,9 +133,9 @@ class PaymentLineItemsDisplay extends FormElement implements ContainerFactoryPlu
'label' => array(
'#attributes' => array(
'class' => array('payment-amount-label'),
- 'colspan' => 3,
),
'#markup' => $this->t('Total amount'),
+ '#wrapper_attributes' => ['colspan' => 3],
),
'total' => array(
'#attributes' => array(
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment