add template overwrite

This commit is contained in:
j 2025-01-17 10:14:08 +05:30
parent 7a8902c24a
commit 7541a550ed

View File

@ -0,0 +1,23 @@
{% load i18n static available_content %}
<div class="sortedm2m-container">
<p class="selector-filter">
<img src="{% static "sortedm2m/selector-search.gif" %}" alt="" title="{% trans "Type into this box to filter down the list." %}" />
<input type="text" placeholder="{% trans "Filter" %}" />
</p>
<ul class="sortedm2m-items">
{% for row in selected %}
<li class="sortedm2m-item"><label{{ row.label_for|safe }}>{{ row.rendered_cb }} {{ row | admin_thumbnail }} {{ row.option_label }}</label></li>
{% endfor %}
{% for row in unselected %}
<li class="sortedm2m-item"><label{{ row.label_for|safe }}>{{ row.rendered_cb }} {{ row | admin_thumbnail }}{{ row.option_label }}</label></li>
{% endfor %}
</ul>
<p class="help">
{% trans "Choose items and order by drag & drop" %}
</p>
</div>