buro9 / microcosm

Front end for Microcosm, a Go web server that serves the static files, templates and performs API calls.
GNU Affero General Public License v3.0
11 stars 3 forks source link

Resolves #144 #145

Closed buro9 closed 1 year ago

buro9 commented 1 year ago

This was more complex than I thought... but:

End result is that comments can now be created. There's a little cleanup that is possible, and I've left in some GET path redirect handling as /newest is still rendering inline, but this is all good and it works.

buro9 commented 1 year ago

@pascalopitz I'm going to merge this so that you can use it...

Note: The HTML form elements are using the same naming and case as the Go models. i.e. ItemID rather than itemId.