create.tmpl 981 B

12345678910111213141516171819202122232425262728293031
  1. {{template "base/head" .}}
  2. <div class="organization new org">
  3. <div class="ui middle very relaxed page grid">
  4. <div class="column">
  5. <form class="ui form" action="{{.Link}}" method="post">
  6. {{.CSRFTokenHTML}}
  7. <h3 class="ui top attached header">
  8. {{.i18n.Tr "new_org"}}
  9. </h3>
  10. <div class="ui attached segment">
  11. {{template "base/alert" .}}
  12. <div class="inline required field {{if .Err_OrgName}}error{{end}}">
  13. <label for="org_name">{{.i18n.Tr "org.org_name_holder"}}</label>
  14. <input id="org_name" name="org_name" value="{{.org_name}}" autofocus required>
  15. <span class="help">{{.i18n.Tr "org.org_name_helper"}}</span>
  16. </div>
  17. <div class="inline field">
  18. <label></label>
  19. <button class="ui green button">
  20. {{.i18n.Tr "org.create_org"}}
  21. </button>
  22. <a class="ui button" href="{{AppSubURL}}/">{{.i18n.Tr "cancel"}}</a>
  23. </div>
  24. </div>
  25. </form>
  26. </div>
  27. </div>
  28. </div>
  29. {{template "base/footer" .}}