Closed dsamojlenko closed 4 years ago
That just generates and makes the token available to the template, still need to include a hidden field in the form so that the token is passed through on the post.
Been building out a bunch of forms and keep having to add that, figured it was worth including in the sample code...
Fixes the route template to:
Also reduces whitespace at the top of html output, ie: