diff --git a/templates/InlineFormView.php b/templates/InlineFormView.php
new file mode 100644
index 0000000..b047b6b
--- /dev/null
+++ b/templates/InlineFormView.php
@@ -0,0 +1,100 @@
+';
+ else
+ echo '
+
';
+ }
+}
diff --git a/templates/TabularData.php b/templates/TabularData.php
index b6df151..099ae4c 100644
--- a/templates/TabularData.php
+++ b/templates/TabularData.php
@@ -3,7 +3,7 @@
* TabularData.php
* Contains the template that displays tabular data.
*
- * Kabuki CMS (C) 2013-2023, Aaron van Geffen
+ * Kabuki CMS (C) 2013-2025, Aaron van Geffen
*****************************************************************************/
class TabularData extends SubTemplate
@@ -79,7 +79,7 @@ class TabularData extends SubTemplate
// Form controls?
if (isset($form))
- $this->renderInlineForm($form);
+ InlineFormView::renderInlineForm($form);
echo '
';
@@ -146,94 +146,4 @@ class TabularData extends SubTemplate
echo '
';
}
-
- protected function renderInlineForm($form)
- {
- if (!isset($form['is_embed']))
- echo '
-