]> _ Git - cubist_cms-back.git/commitdiff
wip #6108 @0.5
authorVincent Vanwaelscappel <vincent@cubedesigners.com>
Fri, 21 Jul 2023 15:51:26 +0000 (17:51 +0200)
committerVincent Vanwaelscappel <vincent@cubedesigners.com>
Fri, 21 Jul 2023 15:51:26 +0000 (17:51 +0200)
src/app/Magic/Fields/FormSectionDescription.php [new file with mode: 0644]
src/resources/views/fields/form_section_description.blade.php [new file with mode: 0644]

diff --git a/src/app/Magic/Fields/FormSectionDescription.php b/src/app/Magic/Fields/FormSectionDescription.php
new file mode 100644 (file)
index 0000000..3eb1213
--- /dev/null
@@ -0,0 +1,13 @@
+<?php
+
+
+namespace Cubist\Backpack\Magic\Fields;
+
+
+use Cubist\Backpack\CubistBackpackServiceProvider;
+
+class FormSectionDescription extends UnstoredField
+{
+    protected $_adminType = 'form_section_description';
+    protected $_viewNamespace = CubistBackpackServiceProvider::NAMESPACE . '::fields';
+}
diff --git a/src/resources/views/fields/form_section_description.blade.php b/src/resources/views/fields/form_section_description.blade.php
new file mode 100644 (file)
index 0000000..b6343bd
--- /dev/null
@@ -0,0 +1 @@
+<p>{{$field['label']}}</p>