You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

29 lines
1.1KB

  1. {% extends "base.html" %}
  2. {% block content %}
  3. <h1>{% block title %} Add a New Tool, Example, or Practice {% endblock %}</h1>
  4. <form method="POST" action="/create" id="resource">
  5. <div class="form-group">
  6. <label for="cars">Type</label>
  7. <select id="type" name="type" form="resource">
  8. <option value="tool">Tool</option>
  9. <option value="example">Example</option>
  10. <option value="practice">Practice</option>
  11. </select>
  12. </div>
  13. <div class="form-group">
  14. <label for="name">Name</label>
  15. <input class="form-control" type="text" name="name" placeholder="Name" autofocus="">
  16. </div>
  17. <div class="form-group">
  18. <label for="description">Description</label>
  19. <textarea class="form-control" type="text" name="description" placeholder="Description" autofocus=""></textarea>
  20. </div>
  21. <button type="submit" class="btn btn-primary">Submit</button>
  22. </form>
  23. </div>
  24. </div>
  25. {% endblock %}