miglioraform

This commit is contained in:
scossa 2024-08-20 21:34:09 +02:00
parent a5153b1df9
commit 7c4830815a
2 changed files with 13 additions and 8 deletions

View file

@ -45,14 +45,19 @@ body {
position: absolute;
margin-left: auto;
margin-right: auto;
left: 0;
left:0;
right: 0;
text-align: center;
width: 50vw;
width: 262px;
background-color: white;
}
textarea[name="description"] {
width: 200px;
height: 50px;
}
#markerForm {
display: flex;
flex-direction: column;

View file

@ -29,17 +29,17 @@
</div>
<div id="remainingForm" style="display: none;">
<label>Nome</label>
<input name="name" required type="text" />
<label>Descrizione</label>
<input name="description" required type="text" />
<label>Immagine</label>
<input
<br><input name="name" required type="text" />
<br><br><label>Descrizione</label>
<br><textarea name="description" required></textarea>
<br><br><label>Immagine</label>
<br><input
name="image"
required
type="file"
accept="image/x-png,image/jpeg,image/jpg"
/>
<button>Aggiungi Marker</button>
<br><br><button>Aggiungi Marker</button>
</div>
</form>
</div>