mirror of
https://github.com/sstent/expressmongotest.git
synced 2026-01-26 00:52:11 +00:00
almost rebased
This commit is contained in:
10
test/views/users/profile.jade
Normal file
10
test/views/users/profile.jade
Normal file
@@ -0,0 +1,10 @@
|
||||
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")
|
||||
|
||||
a(href="/users/") Back to Userlist
|
||||
Reference in New Issue
Block a user