This repository has been archived by the owner on Dec 1, 2017. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
33 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -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">×</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> |