- add send CV status

This commit is contained in:
2023-08-04 16:25:09 +02:00
parent 6a033d108c
commit 2a2869e2c6
10 changed files with 104 additions and 11 deletions

View File

@@ -40,6 +40,7 @@ const form = useForm({
rodo: props.cv.rodo,
position: props.cv.position,
notes: props.cv.notes,
sended: props.cv.sended.status,
});
function updateCV() {
@@ -128,6 +129,12 @@ function updateCV() {
v-model="form.rodo"
:error="form.errors.rodo"
/>
<Input
id="sended"
label="Wysłany"
type="checkbox"
v-model="form.sended"
/>
<div class="grid grid-cols-1 sm:grid-cols-2 md:grid-cols-3 gap-3 sm:gap-2 items-center">
<InertiaLink
as="button"