您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

21 行
735B

  1. {% extends "base.html" %}
  2. {% block content %}
  3. <h1>{% block title %} Add a New Tool {% endblock %}</h1>
  4. <form method="POST" action="/create">
  5. <div class="form-group">
  6. <label for="name">Name</label>
  7. <input class="form-control" type="text" name="name" placeholder="Tool name" autofocus="">
  8. </div>
  9. <div class="form-group">
  10. <label for="description">Description</label>
  11. <textarea class="form-control" type="text" name="description" placeholder="Tool description" autofocus=""></textarea>
  12. </div>
  13. <button type="submit" class="btn btn-primary">Submit</button>
  14. </form>
  15. </div>
  16. </div>
  17. {% endblock %}