whitestarrr

Untitled

Nov 18th, 2016
80
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.59 KB | None | 0 0
  1. <div class="container body-content">
  2. <div class="well">
  3. <h2>All Categories -
  4. <a href="/admin/category/create" class="btn btnwarning">Create
  5. New</a>
  6. </h2>
  7. <div class="row">
  8. <table class="table table-striped table-hover ">
  9. <thead>
  10. <tr>
  11. <th>#</th>
  12. <th>Name</th>
  13. <th>Actions</th>
  14. </tr>
  15. </thead>
  16. <tbody>
  17. {{#each categories}}
  18. <tr>
  19. <td>{{ this.id }}</td>
  20. <td>{{ this.name }}</td>
  21. <td>
  22. <a
  23. href="/admin/category/edit/{{this.id}}">Edit</a>
  24. <a
  25. href="/admin/category/delete/{{this.id}}">Delete</a>
  26. </td>
  27. </tr>
  28. {{/each}}
  29. </tbody>
  30. </table>
  31. </div>
  32. </div>
  33. </div>
Advertisement
Add Comment
Please, Sign In to add comment