new.tmpl 1.6 KB

1234567891011121314151617181920212223242526272829303132
  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" .}}