Skip to content

Instantly share code, notes, and snippets.

@HussainArif12
Created November 26, 2020 18:37
<form action="/notes/{{note._id}}" method="POST">
<input type="hidden" name="_method" value="PUT">
<div>
<textarea name="title">{{note.title}} </textarea>
</div>
<div>
<textarea name="body">{{note.body}} </textarea>
</div>
<div>
<button type="submit">Submit!</button>
</div>
</form>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment