Skip to content

Instantly share code, notes, and snippets.

@bunnyhawk
Created July 12, 2015 00:00
Show Gist options
  • Save bunnyhawk/9d1cad544824d0115e29 to your computer and use it in GitHub Desktop.
Save bunnyhawk/9d1cad544824d0115e29 to your computer and use it in GitHub Desktop.
Register.jade for login-example
extends layout
block content
.container
h1 Registration
p.lead Create an account. Already have one?
a(href='/login') Login Now.
form(role='form', action='/register', method='post')
.form-group
label(for='username') Username
input.form-control(type='text', id='username', name='username', placeholder='enter a username')
.form-group
label(for='password') Password
input.form-control(type='password', id='password', name='password', placeholder='enter a password')
button.btn.btn-primary(type='submit') Submit
 
a.btn.btn-default(href='/', role='button') Cancel
h4.text-danger= info
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment