Advertisement
whitestarrr

Untitled

Nov 15th, 2016
78
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.43 KB | None | 0 0
  1. <div class="container body-content span=8 offset=2">
  2. <div class="well">
  3. <form class="form-horizontal" method="POST" action="/article/edit/{{id}}">
  4. <fieldset>
  5. <legend>Edit Article</legend>
  6. <div class="form-group">
  7. <label class="col-sm-4 control-label" for="articleTitle">Article
  8. Title</label>
  9. <div class="col-sm-4 ">
  10. <input type="text" class="form-control" id="articleTitle"
  11. placeholder="Article Title" value="{{title}}" name="title" required >
  12. </div>
  13. </div>
  14. <div class="form-group">
  15. <label class="col-sm-4 control-label"
  16. for="articleContent">Content</label>
  17. <div class="col-sm-6">
  18. <textarea class="form-control" id="articleContent" rows="5"
  19. name="content" required>{{content}}</textarea>
  20. </div>
  21. </div>
  22. <div class="form-group">
  23. <div class="col-sm-4 col-sm-offset-4">
  24. <a href="/" class="btn btn-default">Cancel</a>
  25. <button type="submit" href="/article/edit/{{id}}" class="btn
  26. btn-success">Edit</button>
  27. </div>
  28. </div>
  29. </fieldset>
  30. </form>
  31. </div>
  32. </div>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement