diff --git a/src/lib/components/DataInput/AbstractDataInput.svelte b/src/lib/components/DataInput/AbstractDataInput.svelte
index fd624a3f..ca76279f 100644
--- a/src/lib/components/DataInput/AbstractDataInput.svelte
+++ b/src/lib/components/DataInput/AbstractDataInput.svelte
@@ -1,4 +1,5 @@
@@ -15,6 +16,6 @@
>{heading}
{/if}
-
+
diff --git a/src/lib/components/Navigation/NavigationButtons.svelte b/src/lib/components/Navigation/NavigationButtons.svelte
new file mode 100644
index 00000000..6db811bb
--- /dev/null
+++ b/src/lib/components/Navigation/NavigationButtons.svelte
@@ -0,0 +1,15 @@
+
+
+
+ {#each buttons as bprops}
+
+ {/each}
+
diff --git a/src/routes/userLand/userDataInput/+page.svelte b/src/routes/userLand/userDataInput/+page.svelte
index f5e19157..0c24c2c8 100644
--- a/src/routes/userLand/userDataInput/+page.svelte
+++ b/src/routes/userLand/userDataInput/+page.svelte
@@ -91,7 +91,7 @@
let props = user_props;
- $: if (role === 'Forscher/in') {
+ $: if (role === 'researcher') {
props = user_props;
props.push({
itemComponent: AbstractDropdownItem,
@@ -139,7 +139,7 @@
},
{
label: 'Weiter',
- href: '/childLand/childDataInput'
+ href: '/userLand/userLogin'
}
];
diff --git a/src/routes/userLand/userLogin/+page.svelte b/src/routes/userLand/userLogin/+page.svelte
index 2e99e140..6509703f 100644
--- a/src/routes/userLand/userLogin/+page.svelte
+++ b/src/routes/userLand/userLogin/+page.svelte
@@ -2,10 +2,12 @@
import AbstractRegistrationForm from '$lib/components/DataInput/AbstractRegistrationForm.svelte';
import { Input } from 'flowbite-svelte';
- const default_data = [
+ export let role = 'user';
+
+ let data = [
{
itemComponent: Input,
- componentData: {
+ componentProps: {
type: 'text',
name: 'Benutzerkennung',
placeholder: 'Benutzerkennung',
@@ -16,7 +18,7 @@
},
{
itemComponent: Input,
- componentData: {
+ componentProps: {
type: 'password',
name: 'Passwort',
placeholder: 'Passwort',
@@ -27,14 +29,10 @@
}
];
- export let data = default_data;
-
- export let role = 'user';
-
- if (role === 'admin') {
+ $: if (role === 'admin') {
data.push({
itemComponent: Input,
- componentData: {
+ componentProps: {
type: 'text',
name: 'Projektcode',
placeholder: 'Projektcode',
@@ -54,10 +52,5 @@