File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change 2929 <div class="inline field {{if .Err_Visibility}}error{{end}}">
3030 <span class="inline required field"><label for="visibility">{{.locale.Tr "settings.visibility"}}</label></span>
3131 <div class="ui selection type dropdown">
32- <input type="hidden" id="visibility" name="visibility" value="{{.Form.Visibility}}">
32+ {{if .Form.Visibility.IsPublic}}<input type="hidden" id="visibility" name="visibility" value="0">{{end}}
33+ {{if .Form.Visibility.IsLimited}}<input type="hidden" id="visibility" name="visibility" value="1">{{end}}
34+ {{if .Form.Visibility.IsPrivate}}<input type="hidden" id="visibility" name="visibility" value="2">{{end}}
3335 <div class="text">
3436 {{if .Form.Visibility.IsPublic}}{{.locale.Tr "settings.visibility.public"}}{{end}}
3537 {{if .Form.Visibility.IsLimited}}{{.locale.Tr "settings.visibility.limited"}}{{end}}
You can’t perform that action at this time.
0 commit comments