create.tmpl 1.6 KB

12345678910111213141516171819202122232425262728293031
  1. {{template "ng/base/head" .}}
  2. {{template "ng/base/header" .}}
  3. <div id="sign-wrapper">
  4. <form class="form-align form panel sign-panel sign-form container panel-radius" id="sign-up-form" action="{{AppSubUrl}}/org/create" method="post">
  5. {{.CsrfTokenHtml}}
  6. <div class="panel-header">
  7. <h2>{{.i18n.Tr "new_org"}}</h2>
  8. </div>
  9. <div class="panel-content">
  10. {{template "ng/base/alert" .}}
  11. <div class="field">
  12. <label class="req" for="org_name">{{.i18n.Tr "org.org_name_holder"}}</label>
  13. <input class="ipt ipt-large ipt-radius {{if .Err_OrgName}}ipt-error{{end}}" id="org_name" name="org_name" type="text" value="{{.org_name}}" required/>
  14. <label></label>
  15. <span class="help">{{.i18n.Tr "org.org_name_helper"}}</span>
  16. </div>
  17. <div class="field">
  18. <label class="req" for="email">{{.i18n.Tr "email"}}</label>
  19. <input class="ipt ipt-large ipt-radius {{if .Err_Email}}ipt-error{{end}}" id="email" name="email" type="email" value="{{.email}}" required/>
  20. <label></label>
  21. <span class="help">{{.i18n.Tr "org.org_email_helper"}}</span>
  22. </div>
  23. <div class="field">
  24. <span class="form-label"></span>
  25. <button class="btn btn-large btn-blue btn-radius">{{.i18n.Tr "org.create_org"}}</button>
  26. <a class="btn btn-small btn-gray btn-radius" id="repo-create-cancel" href="{{AppSubUrl}}/"><strong>{{.i18n.Tr "cancel"}}</strong></a>
  27. </div>
  28. </div>
  29. </form>
  30. </div>
  31. {{template "ng/base/footer" .}}