post_edit.html 921 B

123456789101112131415161718192021
  1. <template name="postEdit">
  2. <form class="main form page">
  3. <div class="form-group {{ errorClass 'url' }}">
  4. <label class="control-label" for="url">URL</label>
  5. <div class="controls">
  6. <input name="url" id="url" type="text" value="{{url}}" placeholder="Your URL" class="form-control" />
  7. <span class="help-block">{{ errorMessage 'url' }}</span>
  8. </div>
  9. </div>
  10. <div class="form-group {{ errorClass 'title' }}">
  11. <label class="control-label" for="title">Title</label>
  12. <div class="controls">
  13. <input name="title" id="title" type="text" value="{{title}}" placeholder="Name your post" class="form-control" />
  14. <span class="help-block">{{ errorMessage 'title' }}</span>
  15. </div>
  16. </div>
  17. <input type="submit" value="Submit" class="btn btn-primary submit" />
  18. <hr />
  19. <a class="btn btn-danger delete" href="#">Delete post</a>
  20. </form>
  21. </template>