This commit is contained in:
maaa 2023-07-08 18:05:37 +02:00
parent b9c7a56d3d
commit f1300c1d56
1 changed files with 2 additions and 0 deletions

View File

@ -47,7 +47,9 @@
{% endfor %} {% endfor %}
</div> </div>
<p id="commentId" class="hidden">{{ post.id }}</p> <p id="commentId" class="hidden">{{ post.id }}</p>
{% if userdata %}
<button id="commentButton" class="comment">comment</button> <button id="commentButton" class="comment">comment</button>
{% endif %}
<div id="commentDiv" class="commentdiv hidden"> <div id="commentDiv" class="commentdiv hidden">
<input id="commentBox" type="text" placeholder="content"> <input id="commentBox" type="text" placeholder="content">
<button id="commentDivSave">save</button> <button id="commentDivSave">save</button>