diff --git a/legalconsenthub/app/components/FormStepperWithNavigation.vue b/legalconsenthub/app/components/FormStepperWithNavigation.vue
new file mode 100644
index 0000000..3a022eb
--- /dev/null
+++ b/legalconsenthub/app/components/FormStepperWithNavigation.vue
@@ -0,0 +1,106 @@
+
+
+
+
+
+
+
+ {{ currentFormElementSection.title }}
+
+
+
+
+
+
+
+ Prev
+
+
+
+ Next
+
+
+
+
+ Save
+
+
+ Submit
+
+
+
+
+
+
+
+
+
diff --git a/legalconsenthub/app/components/FormValidationIndicator.vue b/legalconsenthub/app/components/FormValidationIndicator.vue
new file mode 100644
index 0000000..1db62da
--- /dev/null
+++ b/legalconsenthub/app/components/FormValidationIndicator.vue
@@ -0,0 +1,27 @@
+
+
+ {{ statusEmoji }}
+
+
+
+
+
diff --git a/legalconsenthub/app/components/TheForm.vue b/legalconsenthub/app/components/TheForm.vue
deleted file mode 100644
index bdc18ab..0000000
--- a/legalconsenthub/app/components/TheForm.vue
+++ /dev/null
@@ -1,103 +0,0 @@
-
-
-
-
- {{ currentFormElementSection.title }}
-
-
-
-
-
- Prev
-
-
-
- Next
-
-
-
-
- Save
-
- Submit
-
-
-
-
-
-
-
diff --git a/legalconsenthub/app/pages/application-forms/[id]/[sectionIndex].vue b/legalconsenthub/app/pages/application-forms/[id]/[sectionIndex].vue
index 1b20bee..ce88ab2 100644
--- a/legalconsenthub/app/pages/application-forms/[id]/[sectionIndex].vue
+++ b/legalconsenthub/app/pages/application-forms/[id]/[sectionIndex].vue
@@ -19,13 +19,31 @@
-
+
+
+
+
+
diff --git a/legalconsenthub/app/pages/create.vue b/legalconsenthub/app/pages/create.vue
index b79c8cc..949a5df 100644
--- a/legalconsenthub/app/pages/create.vue
+++ b/legalconsenthub/app/pages/create.vue
@@ -22,49 +22,17 @@
Sie haben keine Berechtigung zum Erstellen von Anträgen.
Zurück zur Übersicht
-
-
- {{ trafficLightStatusEmoji }}
-
-
-
-
-
-
-
-
-
- {{ currentFormElementSection.title }}
-
-
-
-
- Prev
-
-
-
- Next
-
-
- Save
- Submit
-
-
-
-
+
+
+
+
+
+
+
@@ -102,46 +70,22 @@ const applicationFormTemplate = computed(
() => data?.value?.content[0] ?? undefined
)
-const { stepper, activeStepperItemIndex, stepperItems, currentFormElementSection, navigateStepper } = useFormStepper(
- computed(() => applicationFormTemplate.value?.formElementSections)
-)
-
-const { addInputFormToApplicationForm } = useFormElementManagement(currentFormElementSection)
-
-const formElements = computed({
- get: () => currentFormElementSection?.value?.formElements ?? [],
- set: (val) => {
- if (val && applicationFormTemplate.value) {
- if (!currentFormElementSection.value) return
- currentFormElementSection.value.formElements = val
- }
- }
-})
const validationMap = ref