2022-08-11 09:57:51 +02:00
|
|
|
<template>
|
|
|
|
<div class="modal" id="my-modal">
|
|
|
|
<div class="modal-box">
|
2022-08-12 18:23:03 +02:00
|
|
|
<h3 class="font-bold text-lg uppercase">Aggiungo una cosetta</h3>
|
2022-08-11 09:57:51 +02:00
|
|
|
<p class="py-4">Ziobilly</p>
|
|
|
|
<form action="/api/cosette" method="post" enctype="multipart/form-data">
|
|
|
|
<label class="label">
|
2022-08-12 18:23:03 +02:00
|
|
|
<span class="label-text">Che roba è?</span>
|
|
|
|
</label>
|
|
|
|
<input type="text" name='name' placeholder="Nome" class="input input-bordered w-full" />
|
|
|
|
<label class="label">
|
|
|
|
<span class="label-text-alt">Metti il nome, modello, qualsiasi cosa che possa aiutare ad identificarmi</span>
|
|
|
|
</label>
|
|
|
|
|
|
|
|
<label class="label">
|
|
|
|
<span class="label-text-alt">Descrizione</span>
|
|
|
|
</label>
|
|
|
|
<textarea name='description' class='input input-bordered w-full'></textarea>
|
|
|
|
<label class="label">
|
|
|
|
<span class="label-text-alt">In che stato è? Dove l'hai trovato? </span>
|
|
|
|
</label>
|
|
|
|
|
|
|
|
<label class="label">
|
|
|
|
<span class="label-text">Tag</span>
|
2022-08-11 09:57:51 +02:00
|
|
|
</label>
|
2022-08-12 18:23:03 +02:00
|
|
|
<input type="text" name='tags' placeholder="Tags" class="input input-bordered w-full" /><br/>
|
2022-08-11 09:57:51 +02:00
|
|
|
|
|
|
|
|
|
|
|
<label class="label">
|
2022-08-12 18:23:03 +02:00
|
|
|
<span class="label-text">Immagini</span>
|
2022-08-11 09:57:51 +02:00
|
|
|
</label>
|
2022-08-12 18:23:03 +02:00
|
|
|
<input class='w-full input input-bordered' type="file" name='imgs' />
|
2022-08-11 09:57:51 +02:00
|
|
|
|
|
|
|
|
|
|
|
<div class="modal-action">
|
2022-08-12 18:23:03 +02:00
|
|
|
<a href="#" class="btn">Annulla</a>
|
|
|
|
<button class='btn btn-success' type='submit'>Aggiungi</button>
|
2022-08-11 09:57:51 +02:00
|
|
|
</div>
|
|
|
|
</form>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</template>
|