This commit is contained in:
2023-07-28 12:18:13 +02:00
parent f5977c1b5d
commit d943e81da4
14 changed files with 209 additions and 69 deletions

View File

@@ -14,8 +14,12 @@ const form = useForm({
project_url: null,
project_version: null,
description: null,
visible: false,
visible: Boolean(false),
});
function createProject() {
form.post('/dashboard/project');
}
</script>
<template>
@@ -25,7 +29,7 @@ const form = useForm({
<h1 class="text-3xl font-roboto font-light">Nowy projekt</h1>
</header>
<div>
<form class="flex flex-col gap-4" @submit.prevent>
<form class="flex flex-col gap-4" @submit.prevent="createProject">
<Input
id="title"
label="Tytuł"