From e6477fff2bca93ec1a944c4f2c4031f6e6b209ca Mon Sep 17 00:00:00 2001 From: philipp lang Date: Fri, 12 Jul 2024 17:33:38 +0200 Subject: [PATCH] Add conditions form --- resources/js/views/form/Conditions.vue | 77 ++++++++++++---------- resources/js/views/form/ConditionsForm.vue | 31 +++++++++ resources/js/views/form/Index.vue | 7 +- 3 files changed, 79 insertions(+), 36 deletions(-) create mode 100644 resources/js/views/form/ConditionsForm.vue diff --git a/resources/js/views/form/Conditions.vue b/resources/js/views/form/Conditions.vue index a2bd9887..d638c22f 100644 --- a/resources/js/views/form/Conditions.vue +++ b/resources/js/views/form/Conditions.vue @@ -5,68 +5,72 @@
- + Bedingung einfügen -
+
- +
- - Speichern
diff --git a/resources/js/views/form/Index.vue b/resources/js/views/form/Index.vue index 01f147f6..7d039b6f 100644 --- a/resources/js/views/form/Index.vue +++ b/resources/js/views/form/Index.vue @@ -81,12 +81,12 @@
@@ -134,7 +134,7 @@ - + @@ -188,6 +188,7 @@ import { indexProps, useIndex } from '../../composables/useInertiaApiIndex.js'; import FormBuilder from '../formtemplate/FormBuilder.vue'; import Participants from './Participants.vue'; import Conditions from './Conditions.vue'; +import ConditionsForm from './ConditionsForm.vue'; import { useToast } from 'vue-toastification'; const props = defineProps(indexProps);