Files
expressmongotest/chapter21/08_user_profile.jade
2013-01-13 18:16:49 -08:00

8 lines
202 B
Plaintext

h1= user.name
h2 Bio
p= user.bio
form(action="/users/" + encodeURIComponent(user.username), method="POST")
input(name="_method", type="hidden", value="DELETE")
input(type="submit", value="Delete")