Skip to content
Browse files

Adding the driver markup.

  • Loading branch information...
1 parent 415c7de commit 1dded0b3427c6e4d4e200de601e590fbb2ec6cb4 @simonwex simonwex committed Aug 8, 2012
Showing with 33 additions and 0 deletions.
  1. +33 −0 app/http/views/site/driver.ejs
View
33 app/http/views/site/driver.ejs
@@ -0,0 +1,33 @@
+<div class="page-header">
+ <h1>
+ Story Driver
+ <small>Generate a Story for Yourself</small>
+ </h1>
+</div>
+
+<% if (lastId) { %>
+<div class="alert alert-success">
+ <a class="close" data-dismiss="alert">&#215;</a>
+ Added story to queue with ID of "<%= lastId %>"
+ </div>
+<% } %>
+<form class="form-horizontal" method="POST">
+ <fieldset>
+ <div class="control-group">
+ <label class="control-label" for="story_url">Link</label>
+ <div class="controls">
+ <input type="text" class="input-xlarge" name="story[url]" id="story_url" value="http://simonwex.com">
+ <p class="help-block">The external URL for the story.</p>
+ </div>
+ </div>
+ <div class="control-group">
+ <label class="control-label" for="story_title">Body</label>
+ <div class="controls">
+ <textarea class="input-xlarge" id="story_title" name="story[title]" rows="3">Find @simonwex at http://simonwex.com</textarea>
+ </div>
+ </div>
+ <div class="form-actions">
+ <button type="submit" class="btn btn-primary">Post Story</button>
+ </div>
+ </fieldset>
+</form>

0 comments on commit 1dded0b

Please sign in to comment.
Something went wrong with that request. Please try again.