mirror of
https://github.com/sstent/expressmongotest.git
synced 2026-01-26 17:12:33 +00:00
jsut setting up
This commit is contained in:
8
chapter21/08_user_profile.jade
Normal file
8
chapter21/08_user_profile.jade
Normal file
@@ -0,0 +1,8 @@
|
||||
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")
|
||||
Reference in New Issue
Block a user