mirror of
https://github.com/bodyrep/DemoApp.git
synced 2026-01-25 14:43:00 +00:00
migrating repo to Bodyrep org
This commit is contained in:
19
views/users/new.jade
Normal file
19
views/users/new.jade
Normal file
@@ -0,0 +1,19 @@
|
||||
extends ../layout
|
||||
block content
|
||||
h1 New User
|
||||
|
||||
form(method="POST", action="/users")
|
||||
p
|
||||
label(for="username") Username<br />
|
||||
input#username(name="username")
|
||||
p
|
||||
label(for="name") Name<br />
|
||||
input#name(name="name")
|
||||
p
|
||||
label(for="password") Password<br />
|
||||
input#password(type="password", name="password")
|
||||
p
|
||||
label(for="is_admin") Admin<br />
|
||||
input#isadmin(type="checkbox", name="is_admin", unchecked)
|
||||
p
|
||||
input(type="submit", value="Create")
|
||||
Reference in New Issue
Block a user