diff --git a/libraries/classes/Util.php b/libraries/classes/Util.php
index f539e3b8de..069d0d5718 100644
--- a/libraries/classes/Util.php
+++ b/libraries/classes/Util.php
@@ -2916,14 +2916,9 @@ class Util
*/
public static function getFKCheckbox()
{
- $checked = self::isForeignKeyCheck();
- $html = '';
- $html .= '';
- $html .= '';
- return $html;
+ return Template::get('fk_checkbox')->render([
+ 'checked' => self::isForeignKeyCheck(),
+ ]);
}
/**
diff --git a/templates/fk_checkbox.twig b/templates/fk_checkbox.twig
new file mode 100644
index 0000000000..afcc6156ca
--- /dev/null
+++ b/templates/fk_checkbox.twig
@@ -0,0 +1,4 @@
+
+
+