Skip to content

Instantly share code, notes, and snippets.

@hameedullah
Forked from jamescarr/dammit.html
Created January 16, 2012 16:44
Show Gist options
  • Save hameedullah/1621723 to your computer and use it in GitHub Desktop.
Save hameedullah/1621723 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">
<style type="text/css">
body {
padding-top: 60px;
}
</style>
</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