forked from rDrama/rDrama
fix
parent
540b7d0470
commit
e0e434c386
|
@ -454,9 +454,7 @@
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
{% if v and (v.id==p.author_id or v.admin_level > 1 and v.admin_level > 2) %}
|
{% if v and (v.id==p.author_id or v.admin_level > 1 and v.admin_level > 2) %}
|
||||||
<div class="py-2">
|
|
||||||
{% include "CHRISTMAS/submission/SubmissionEditForm.html" %}
|
{% include "CHRISTMAS/submission/SubmissionEditForm.html" %}
|
||||||
</div>
|
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
{% if p.embed_url and "http" not in p.embed_url and "<" not in p.embed_url %}
|
{% if p.embed_url and "http" not in p.embed_url and "<" not in p.embed_url %}
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
<div id="edit-post-body-{{p.id}}" class="hidden">
|
<div id="edit-post-body-{{p.id}}" class="py-2 hidden">
|
||||||
<form id="post-edit-form-{{p.id}}" class="flex flex-col w-full" action="/edit_post/{{p.id}}" method="post">
|
<form id="post-edit-form-{{p.id}}" class="flex flex-col w-full" action="/edit_post/{{p.id}}" method="post">
|
||||||
<input type="hidden" name="formkey" value="{{v.formkey}}">
|
<input type="hidden" name="formkey" value="{{v.formkey}}">
|
||||||
<input type="hidden" name="current_page" value="{{request.path}}">
|
<input type="hidden" name="current_page" value="{{request.path}}">
|
||||||
|
|
Loading…
Reference in New Issue