Skip to content

Instantly share code, notes, and snippets.

@jamescarr
Created January 16, 2012 16:38
Show Gist options
  • Save jamescarr/1621690 to your computer and use it in GitHub Desktop.
Save jamescarr/1621690 to your computer and use it in GitHub Desktop.
<!DOCTYPE html>
<html>
<head>
<title>Write New Post</title>
<link rel="stylesheet"
href="http://twitter.github.com/bootstrap/1.4.0/bootstrap.min.css">
</head>
<body>
<div class="topbar-wrapper">
<div class="topbar">
<div class="topbar-inner">
<div class="container">
<h3>
<a href="/">Write New Post</a>
</h3>
<ul class="nav">
<li><a href="/post/new">New Post</a></li>
</ul>
</div>
</div>
</div>
</div>
<div id="content" class="row">
<form method="post" action="/post/new">
<fieldset>
<legend>Write New Post</legend>
<div class="clearfix">
<label for="title">Title</label>
<div class="input">
<input id="title" type="text" name="post[title]" />
</div>
</div>
<div class="clearfix">
<label for="post">Post</label>
<div class="input">
<textarea id="post" name="post[body]" rows="3" class="xxlarge"></textarea>
</div>
</div>
<div class="actions">
<input type="submit" value="Publish!" class="btn primary" /><a
href="/" class="btn">Cancel</a>
</div>
</fieldset>
</form>
</div>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment