create.tmpl 764 B

123456789101112131415161718192021222324
  1. {{template "base/head" .}}
  2. {{template "base/navbar" .}}
  3. <div class="container">
  4. <form action="/repo/create" method="post" class="form-horizontal">
  5. <div class="form-group">
  6. <div class="col-md-offset-4 col-md-3">
  7. Owner: <input name="userId" type="hidden" value="1"/>lunny
  8. </div>
  9. <div class="col-md-offset-4 col-md-3">
  10. repo name: <input name="name" type="text"/>
  11. </div>
  12. <div class="col-md-offset-4 col-md-3">
  13. description(optional): <input name="desc" type="text"/>
  14. </div>
  15. <div class="col-md-offset-4 col-md-3">
  16. </div>
  17. <div class="col-md-offset-4 col-md-3">
  18. <button type="submit" class="btn btn-info">Create repository</button>
  19. </div>
  20. </div>
  21. </form>
  22. </div>
  23. {{template "base/footer" .}}