only show delete if this is actually your video

This commit is contained in:
biglyderv 2024-11-25 14:12:44 -05:00
parent 62645ddd93
commit 4a80ab8bca

View file

@ -28,7 +28,9 @@
</div> </div>
</div> </div>
<pre class='form-input'><%= videoData.desc %></pre> <pre class='form-input'><%= videoData.desc %></pre>
<%if (username==videoData.username) { %>
<input class='form-input' type='submit' value="Delete"> <input class='form-input' type='submit' value="Delete">
<% } %>
<input name='target' hidden value="<%= id %>"> <input name='target' hidden value="<%= id %>">
</div> </div>
<%- include('comments.ejs') -%> <%- include('comments.ejs') -%>