2015-09-06 10:08:14 -04:00
|
|
|
{{template "base/head" .}}
|
|
|
|
<div class="organization new org">
|
2015-12-07 17:30:52 -05:00
|
|
|
<div class="ui middle very relaxed page grid">
|
|
|
|
<div class="column">
|
|
|
|
<form class="ui form" action="{{.Link}}" method="post">
|
|
|
|
{{.CsrfTokenHtml}}
|
|
|
|
<h3 class="ui top attached header">
|
|
|
|
{{.i18n.Tr "new_org"}}
|
|
|
|
</h3>
|
|
|
|
<div class="ui attached segment">
|
|
|
|
{{template "base/alert" .}}
|
|
|
|
<div class="inline required field {{if .Err_OrgName}}error{{end}}">
|
|
|
|
<label for="org_name">{{.i18n.Tr "org.org_name_holder"}}</label>
|
|
|
|
<input id="org_name" name="org_name" value="{{.org_name}}" autofocus required>
|
|
|
|
<span class="help">{{.i18n.Tr "org.org_name_helper"}}</span>
|
|
|
|
</div>
|
2015-09-06 10:08:14 -04:00
|
|
|
|
2019-02-18 11:00:27 -05:00
|
|
|
<div class="inline required field {{if .Err_OrgVisibility}}error{{end}}">
|
|
|
|
<label for="visibility">{{.i18n.Tr "org.settings.visibility"}}</label>
|
|
|
|
<div class="field">
|
|
|
|
<div class="ui radio checkbox">
|
|
|
|
<input class="hidden enable-system-radio" tabindex="0" name="visibility" type="radio" value="0" {{if .DefaultOrgVisibilityMode.IsPublic}}checked{{end}}/>
|
|
|
|
<label>{{.i18n.Tr "org.settings.visibility.public"}}</label>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="field">
|
|
|
|
<div class="ui radio checkbox">
|
|
|
|
<input class="hidden enable-system-radio" tabindex="0" name="visibility" type="radio" value="1" {{if .DefaultOrgVisibilityMode.IsLimited}}checked{{end}}/>
|
|
|
|
<label>{{.i18n.Tr "org.settings.visibility.limited"}}</label>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="field">
|
|
|
|
<div class="ui radio checkbox">
|
|
|
|
<input class="hidden enable-system-radio" tabindex="0" name="visibility" type="radio" value="2" {{if .DefaultOrgVisibilityMode.IsPrivate}}checked{{end}}/>
|
|
|
|
<label>{{.i18n.Tr "org.settings.visibility.private"}}</label>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
2015-12-07 17:30:52 -05:00
|
|
|
<div class="inline field">
|
|
|
|
<label></label>
|
|
|
|
<button class="ui green button">
|
|
|
|
{{.i18n.Tr "org.create_org"}}
|
|
|
|
</button>
|
|
|
|
<a class="ui button" href="{{AppSubUrl}}/">{{.i18n.Tr "cancel"}}</a>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</form>
|
|
|
|
</div>
|
|
|
|
</div>
|
2014-07-26 23:53:16 -04:00
|
|
|
</div>
|
2015-12-07 17:30:52 -05:00
|
|
|
{{template "base/footer" .}}
|