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.

31 lines
1.6 KiB

  1. {{template "base/head" .}}
  2. {{template "base/navbar" .}}
  3. <div class="container" id="body">
  4. <form action="{{AppSubUrl}}/org/create" method="post" class="form-horizontal card" id="org-create">
  5. {{.CsrfTokenHtml}}
  6. <h3>Create New Organization</h3>
  7. {{template "base/alert" .}}
  8. <div class="form-group {{if .Err_OrgName}}has-error has-feedback{{end}}">
  9. <label class="col-md-2 control-label">Organization<strong class="text-danger">*</strong></label>
  10. <div class="col-md-8">
  11. <input name="orgname" type="text" class="form-control" placeholder="Type your organization name" value="{{.orgname}}" required="required">
  12. <span class="help-block">Great organization names are short and memorable. </span>
  13. </div>
  14. </div>
  15. <div class="form-group{{if .Err_Email}} has-error has-feedback{{end}}">
  16. <label class="col-md-2 control-label">Email<strong class="text-danger">*</strong></label>
  17. <div class="col-md-8">
  18. <input name="email" type="text" class="form-control" placeholder="Type organization's email" value="{{.email}}" required="required">
  19. <span class="help-block">Organization's Email receives all notifications and confirmations.</span>
  20. </div>
  21. </div>
  22. <div class="form-group">
  23. <div class="col-md-offset-2 col-md-8">
  24. <button type="submit" class="btn btn-lg btn-primary">Create An Organization</button>
  25. <a href="{{AppSubUrl}}/" class="text-danger">Cancel</a>
  26. </div>
  27. </div>
  28. </form>
  29. </div>
  30. {{template "base/footer" .}}