bootstrap5 fixes
This commit is contained in:
parent
15a0aa17f2
commit
46ab3158ed
@ -71,12 +71,11 @@
|
||||
{{ item.title|title }}
|
||||
</span>
|
||||
{% if request.user.is_superuser %}
|
||||
<div class="dropdown">
|
||||
<button class="btn btn-sm" id="dropdownMenuButton" data-toggle="dropdown" aria-haspopup="true"
|
||||
aria-expanded="false">
|
||||
<div class="dropstart">
|
||||
<button class="btn btn-sm" data-bs-toggle="dropdown" aria-expanded="false">
|
||||
<i class="fas fa-ellipsis-v text-white"></i>
|
||||
</button>
|
||||
<div class="dropdown-menu dropdown-menu-right" aria-labelledby="dropdownMenuButton">
|
||||
<div class="dropdown-menu">
|
||||
<a class="dropdown-item" href="{% url 'edit_post' pk=item.id %}"><i
|
||||
class="fas fa-pencil-alt"></i> Edit</a>
|
||||
<a class="dropdown-item" href="{% url 'delete_post' pk=item.id %}"><i
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user