video add new remove commponent

This commit is contained in:
Parsa Nazer
2025-02-17 00:26:11 +03:30
parent b4dd12716d
commit 81051831bc
@@ -84,6 +84,9 @@
{% include adminform.model_admin.change_form_outer_before_template %} {% include adminform.model_admin.change_form_outer_before_template %}
{% endif %} {% endif %}
{% if original.title %}
<div class="border border-base-200 border-dashed mb-4 p-3 rounded dark:border-base-700 gap-1.5"> <div class="border border-base-200 border-dashed mb-4 p-3 rounded dark:border-base-700 gap-1.5">
{% if original and original.video %} {% if original and original.video %}
<h3 style="display: flex; justify-content: center; align-items: center; width: 100%; padding: 5px 0;"> <h3 style="display: flex; justify-content: center; align-items: center; width: 100%; padding: 5px 0;">
@@ -102,7 +105,7 @@
<p>no video available.</p> <p>no video available.</p>
{% endif %} {% endif %}
</div> </div>
{% endif %}
{% if request.user.video_uploader %} {% if request.user.video_uploader %}