Add image url to adventures and plans

This commit is contained in:
Sean Morley
2024-05-26 13:49:57 +00:00
parent 175c088776
commit 10bd897a55
5 changed files with 58 additions and 9 deletions

View File

@@ -110,6 +110,15 @@
class="input input-bordered w-full max-w-xs"
/>
</div>
<div>
<label for="rating">Image URL</label>
<input
type="url"
id="imageUrl"
bind:value={adventureToEdit.imageUrl}
class="input input-bordered w-full max-w-xs"
/>
</div>
<button class="btn btn-primary mr-4 mt-4" on:click={submit}>Save</button
>
<!-- if there is a button in form, it will close the modal -->