aboutsummaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
Diffstat (limited to 'templates')
-rw-r--r--templates/postform.tmpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/postform.tmpl b/templates/postform.tmpl
index 9c674e9..3bb2457 100644
--- a/templates/postform.tmpl
+++ b/templates/postform.tmpl
@@ -24,7 +24,7 @@
{{end}}
<span class="post-form-field">
<label for="post-visilibity"> Scope </label>
- <select id="post-visilibity" name="visibility">
+ <select id="post-visilibity" name="visibility" {{if .ReplyContext}}{{if .ReplyContext.ForceVisibility}}disabled{{end}}{{end}}>
<option value="public" {{if eq .DefaultVisibility "public"}}selected{{end}}>Public</option>
<option value="unlisted" {{if eq .DefaultVisibility "unlisted"}}selected{{end}}>Unlisted</option>
<option value="private" {{if eq .DefaultVisibility "private"}}selected{{end}}>Private</option>