Skip to content

Instantly share code, notes, and snippets.

@jessedc
Created April 25, 2011 12:19
Show Gist options
  • Star 3 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jessedc/940433 to your computer and use it in GitHub Desktop.
Save jessedc/940433 to your computer and use it in GitHub Desktop.
Jade Example for Steve
<html lang="en">
<head>
<title>
title of the page
</title>
<link rel="stylesheet" type="text/css" href="/stylesheets/style.css">
</head>
<body>
<h1>
title of the post
</h1>
<form method="post">
<div>
<div>
<span>Title :</span><input type="text" name="title" id="editArticleTitle">
</div>
<div>
<span>Body :</span>
<textarea name="body" rows="20" id="editArticleBody">
Default text
</textarea>
</div>
<div id="editArticleSubmit">
<input type="submit" value="Send">
</div>
</div>
</form>
</body>
</html>
!!! 5
html(lang="en")
head
title title of the page
link(rel='stylesheet',type='text/css',href='/stylesheets/style.css')
body
h1 title of the post
form(method: 'post')
div
div
span Title :
input(type:'text', name:'title', id:'editArticleTitle')
div
span Body :
textarea(name:'body', rows:20, id:'editArticleBody' ) Default text
div#editArticleSubmit
input(type:'submit', value:'Send')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment