diff options
author | zeripath <art27@cantab.net> | 2019-03-28 18:36:17 +0000 |
---|---|---|
committer | Lauris BH <lauris@nix.lv> | 2019-03-28 20:36:17 +0200 |
commit | 5e23c33d9e4bb5ad3a20bf810f8f443445e813e4 (patch) | |
tree | b99d5195ec09793d004f18dd143eb6ca43f9d2a1 /templates | |
parent | 2019983e77895b4e41724bfa3297f5dd730ff37d (diff) | |
download | gitea-5e23c33d9e4bb5ad3a20bf810f8f443445e813e4.tar.gz gitea-5e23c33d9e4bb5ad3a20bf810f8f443445e813e4.zip |
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
Diffstat (limited to 'templates')
-rw-r--r-- | templates/org/create.tmpl | 35 |
1 files changed, 17 insertions, 18 deletions
diff --git a/templates/org/create.tmpl b/templates/org/create.tmpl index acf914c9d4..a64c415233 100644 --- a/templates/org/create.tmpl +++ b/templates/org/create.tmpl @@ -15,28 +15,27 @@ <span class="help">{{.i18n.Tr "org.org_name_helper"}}</span> </div> - <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 class="inline field {{if .Err_OrgVisibility}}error{{end}}"> + <span class="inline required field"><label for="visibility">{{.i18n.Tr "org.settings.visibility"}}</label></span> + <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 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="inline field {{if .Err_OrgVisibility}}error{{end}}"> + <label> </label> + <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 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 class="inline field {{if .Err_OrgVisibility}}error{{end}}"> + <label> </label> + <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 class="inline field"> <label></label> <button class="ui green button"> |