guestbook/ui/html/htmx/guestbookcreate.part.html

7 lines
284 B
HTML
Raw Permalink Normal View History

<form hx-post="/guestbooks/create" hx-target="closest div">
<input type="hidden" name="csrf_token" value="{{.CSRFToken}}">
<label for="siteurl">Site URL: </label>
<input type="text" name="siteurl" id="siteurl" required />
<button type="submit">Submit</button>
</form>