mirror of
https://github.com/go-gitea/gitea
synced 2024-11-25 03:02:54 +01:00
Hacky fix for alignment of the create-organization dialog (#6455)
* Hacky fix for alignment of the create-organization dialog * Mangle the post-scripted red-asterisk back in to follow the Visibility Header
This commit is contained in:
parent
2019983e77
commit
5e23c33d9e
1 changed files with 19 additions and 20 deletions
|
@ -15,28 +15,27 @@
|
||||||
<span class="help">{{.i18n.Tr "org.org_name_helper"}}</span>
|
<span class="help">{{.i18n.Tr "org.org_name_helper"}}</span>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="inline required field {{if .Err_OrgVisibility}}error{{end}}">
|
<div class="inline field {{if .Err_OrgVisibility}}error{{end}}">
|
||||||
<label for="visibility">{{.i18n.Tr "org.settings.visibility"}}</label>
|
<span class="inline required field"><label for="visibility">{{.i18n.Tr "org.settings.visibility"}}</label></span>
|
||||||
<div class="field">
|
|
||||||
<div class="ui radio checkbox">
|
<div class="ui radio checkbox">
|
||||||
<input class="hidden enable-system-radio" tabindex="0" name="visibility" type="radio" value="0" {{if .DefaultOrgVisibilityMode.IsPublic}}checked{{end}}/>
|
<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>
|
<label>{{.i18n.Tr "org.settings.visibility.public"}}</label>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="field">
|
<div class="inline field {{if .Err_OrgVisibility}}error{{end}}">
|
||||||
|
<label> </label>
|
||||||
<div class="ui radio checkbox">
|
<div class="ui radio checkbox">
|
||||||
<input class="hidden enable-system-radio" tabindex="0" name="visibility" type="radio" value="1" {{if .DefaultOrgVisibilityMode.IsLimited}}checked{{end}}/>
|
<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>
|
<label>{{.i18n.Tr "org.settings.visibility.limited"}}</label>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="field">
|
<div class="inline field {{if .Err_OrgVisibility}}error{{end}}">
|
||||||
|
<label> </label>
|
||||||
<div class="ui radio checkbox">
|
<div class="ui radio checkbox">
|
||||||
<input class="hidden enable-system-radio" tabindex="0" name="visibility" type="radio" value="2" {{if .DefaultOrgVisibilityMode.IsPrivate}}checked{{end}}/>
|
<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>
|
<label>{{.i18n.Tr "org.settings.visibility.private"}}</label>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="inline field">
|
<div class="inline field">
|
||||||
<label></label>
|
<label></label>
|
||||||
<button class="ui green button">
|
<button class="ui green button">
|
||||||
|
|
Loading…
Reference in a new issue