Skip to content

Instantly share code, notes, and snippets.

@AndrewHenderson
Created December 17, 2012 03:52
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save AndrewHenderson/4315653 to your computer and use it in GitHub Desktop.
Save AndrewHenderson/4315653 to your computer and use it in GitHub Desktop.
Jade Template - Twitter Bootstrap login form.
doctype 5
html
head
meta(name='viewport', content='width=device-width, initial-scale=1')
title= title
link(rel='stylesheet', href='/css/bootstrap.css')
link(rel='stylesheet', href='/css/index.css')
body
block content
.container
form.form-signin(action="/login", method="post")
h2.form-signin-heading Please sign in
input.input-block-level(type="text", name="username", placeholder="Email address")
input.input-block-level(type="password", name="password", placeholder="Password")
label.checkbox.
<input type="checkbox" value="remember-me" /> Remember me
button.btn.btn-large.btn-primary(type="submit") Sign in
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment