From 4905dacf4ab55f9d2b2b700b7bcc741a274f8ce8 Mon Sep 17 00:00:00 2001 From: Coleman Watts Date: Thu, 24 Sep 2020 14:27:45 -0400 Subject: [PATCH] Afform: add bootstrap3 bundle --- ext/afform/core/CRM/Afform/Page/AfformBase.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/ext/afform/core/CRM/Afform/Page/AfformBase.php b/ext/afform/core/CRM/Afform/Page/AfformBase.php index 3a64be2f6f..540b16fe94 100644 --- a/ext/afform/core/CRM/Afform/Page/AfformBase.php +++ b/ext/afform/core/CRM/Afform/Page/AfformBase.php @@ -21,7 +21,9 @@ class CRM_Afform_Page_AfformBase extends CRM_Core_Page { 'afform' => [ 'open' => $afform['directive_name'], ], - ]); + ]) + // TODO: Allow afforms to declare their own theming requirements + ->addBundle('bootstrap3'); $loader->load(); if (!empty($afform['title'])) { -- 2.25.1