Sha256: 70adb31bf13350814906338be1afe6b72c5f15927edd4a307063210304eeef01
Contents?: true
Size: 1.28 KB
Versions: 3
Compression:
Stored size: 1.28 KB
Contents
<h2><%= if @isNew then 'New' else 'Edit' %> Post</h2> <form accept-charset="UTF-8" action="/" class="form-horizontal" method="post"> <fieldset> <div class="control-group title"> <label class="control-label" for="post_title">Title</label> <div class="controls"> <input class="input-xlarge span7" id="post_title" name="post_title" type="text" value="<%= @post.title %>"> <span class="help-inline title"></span> </div> </div> <div class="control-group body"> <label class="control-label" for="post_body">Body</label> <div class="controls"> <textarea class="span9" id="post_body" name="post_body" rows="30"><%= @post.body %></textarea> <span class="help-inline"> <a href="http://daringfireball.net/projects/markdown/syntax" target="_blank">Markdown syntax</a> </span> </div> </div> <div class="form-actions"> <div class="row"> <div class="span1"> <button class="btn btn-primary update">Save</button> </div> <div class="span1"> <button class="btn btn-danger cancel">Cancel</button> </div> </div> </div> </fieldset> <div style="margin:0;padding:0;display:inline"> <input name="utf8" type="hidden" value="✓"> </div> </form>
Version data entries
3 entries across 3 versions & 1 rubygems