From c16a4d78d07e81ecdd2ff9b1b9090560ab2fe488 Mon Sep 17 00:00:00 2001
From: Jake Vanderwerf <get@jakevanderwerf.ca>
Date: Fri, 04 Sep 2026 22:25:09 +0000
Subject: [PATCH] =Got the panel loading up the fields, organized by section! Now to ensure it saves properly. Still need to add: upload fields, selector fields, repeater/taglist/group fields

---
 inc/registrar/helpers/AddCustomFields.php |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/inc/registrar/helpers/AddCustomFields.php b/inc/registrar/helpers/AddCustomFields.php
index 7894f18..2e730ff 100644
--- a/inc/registrar/helpers/AddCustomFields.php
+++ b/inc/registrar/helpers/AddCustomFields.php
@@ -49,6 +49,8 @@
 					$f['name'] = jvbCheckBase($f['name']);
 					return $f;
 				},array_values($this->registrar->getFields(false))),
+				'sections'  => $this->registrar->getSections(),
+				'base'  => BASE
 			]).';',
 			'before'
 		);

--
Gitblit v1.10.0