Browse Source

Update new post form

Daniel Supernault 6 years ago
parent
commit
7c1b0c2065
1 changed files with 13 additions and 0 deletions
  1. 13 0
      resources/views/timeline/partial/new-form.blade.php

+ 13 - 0
resources/views/timeline/partial/new-form.blade.php

@@ -31,6 +31,19 @@
             </button>
             </button>
             <div class="collapse" id="collapsePreview">
             <div class="collapse" id="collapsePreview">
               <div class="form-group pt-3">
               <div class="form-group pt-3">
+                <label class="font-weight-bold text-muted small">Visibility</label>
+                <div class="switch switch-sm">
+                  <select class="form-control" name="visibility">
+                    <option value="public" selected="">Public</option>
+                    <option value="unlisted">Unlisted (hidden from public timelines)</option>
+                    <option value="private">Followers Only</option>
+                  </select>
+                </div>
+                <small class="form-text text-muted">
+                  Set the visibility of this post.
+                </small>
+              </div>
+              <div class="form-group">
                 <label class="font-weight-bold text-muted small">CW/NSFW</label>
                 <label class="font-weight-bold text-muted small">CW/NSFW</label>
                 <div class="switch switch-sm">
                 <div class="switch switch-sm">
                   <input type="checkbox" class="switch" id="cw-switch" name="cw">
                   <input type="checkbox" class="switch" id="cw-switch" name="cw">