Skip to content

Instantly share code, notes, and snippets.

@zlatkov
Created February 8, 2021 14:14
Show Gist options
  • Save zlatkov/2e5d6df543133a91594c0d4e17217ca2 to your computer and use it in GitHub Desktop.
Save zlatkov/2e5d6df543133a91594c0d4e17217ca2 to your computer and use it in GitHub Desktop.
<form action='/profile' method='POST'>
<input type='hidden' name='_csrf' value='<%= csrfToken %>'>
<label for='name'> Name:</label>
<input type='text' name='name'>
<button type='submit'> Update </button>
</form>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment