From b52facf11296012e9c7bf7ab67d6bc638e763a8d Mon Sep 17 00:00:00 2001 From: Gustavo Luigi Date: Sun, 28 Aug 2022 20:00:56 +0200 Subject: [PATCH] add form element --- config.json | 18 ++++++++++++++- content/contents/produkt.blade.php | 35 +++++++++++++++--------------- 2 files changed, 35 insertions(+), 18 deletions(-) diff --git a/config.json b/config.json index 741c6b9..241f383 100644 --- a/config.json +++ b/config.json @@ -7,5 +7,21 @@ "name": "Areya Webservices", "link": "https://www.areya.de/" }, - "lumino-version": {"min": "3.0", "max": "3.1"} + "lumino-version": {"min": "3.0", "max": "3.1"}, + "content-types": [ + { + "name":"Produkt", + "description":"Produkt", + "icon":"shopping-bag", + "status":1, + "blade":"produkt", + "fields":[{ + "name":"Preis", + "type":"number", + "description":"", + "position":1, + "required":1, + "default_value":"" + },{"name":"Lieferumfang","type":"textfield","description":"","position":2,"required":1,"default_value":""}]} + ] } diff --git a/content/contents/produkt.blade.php b/content/contents/produkt.blade.php index 68522f5..6c15159 100644 --- a/content/contents/produkt.blade.php +++ b/content/contents/produkt.blade.php @@ -7,6 +7,11 @@ @stop @section('content')
+ @if(session()->has('success')) +
{{session()->get('success')}}
+ @elseif(session()->has('error')) +
{{session()->get('error')}}
+ @endif
@@ -56,9 +61,7 @@

Steckersolar Max 600

759 € - Inkl. MwSt. -
@@ -66,7 +69,6 @@
Kostenloser Anmeldeservice beim Netzbetreiber inklusive -

Lieferumfang: @@ -122,46 +124,45 @@
-
+
- - - - + +
- +
- +
- +
- +
- +
- +
- +