Skip to content

Instantly share code, notes, and snippets.

@bunnyhawk
Created July 11, 2015 23:59
Show Gist options
  • Save bunnyhawk/c0b052159405bdf58c3b to your computer and use it in GitHub Desktop.
Save bunnyhawk/c0b052159405bdf58c3b to your computer and use it in GitHub Desktop.
Login.jade for login-example
extends layout
block content
.container
h1 Login
p.lead
| Sign in with your account. Don’t have one?
a(href='/register') Register Now.
form(role='form', action='/login', method='post')
.form-group
label(for='username') Username
input.form-control(type='text', id='user', 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(role='button', href='/') Cancel
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment