Start working on post visibility

This commit is contained in:
Thomas Sileo
2019-07-13 00:28:14 +02:00
parent 5effab8b90
commit 6ab59d2e41
2 changed files with 30 additions and 5 deletions

View File

@@ -21,6 +21,11 @@
<form action="/api/new_{% if request.args.get("question") == "1" %}question{%else%}note{%endif%}" method="POST" enctype="multipart/form-data">
<input type="hidden" name="redirect" value="/">
<input type="hidden" name="csrf_token" value="{{ csrf_token() }}">
<select name="visibility">
{% for v in visibility %}
<option value="{{v.name}}">{{ v.value }}</option>
{% endfor %}
</select>
{% if reply %}<input type="hidden" name="reply" value="{{reply}}">{% endif %}
<p>