Fix: category delete button broken by double-quote conflict in onclick attr
This commit is contained in:
@@ -424,7 +424,7 @@
|
||||
<div>{{ c.name }}</div>
|
||||
<small>{{ c.slug }}</small>
|
||||
</div>
|
||||
<button onclick="deleteCategory({{ c.id }}, {{ c.name|tojson }})">Delete</button>
|
||||
<button onclick='deleteCategory({{ c.id }}, {{ c.name|tojson }})'>Delete</button>
|
||||
</div>
|
||||
{% else %}
|
||||
<div class="list-item">Категории пока не созданы</div>
|
||||
|
||||
Reference in New Issue
Block a user