|
|
@ -14,12 +14,19 @@
|
|
|
|
<button type="button"
|
|
|
|
<button type="button"
|
|
|
|
hx-post="{% url 'tasks:task-update' task.id %}"
|
|
|
|
hx-post="{% url 'tasks:task-update' task.id %}"
|
|
|
|
hx-swap="outerHTML"
|
|
|
|
hx-swap="outerHTML"
|
|
|
|
class="ml-auto">
|
|
|
|
class="inline-block px-5 py-1.5 bg-blue-600 text-white font-medium text-xs leading-tight
|
|
|
|
|
|
|
|
uppercase rounded shadow-md hover:bg-blue-700 hover:shadow-lg focus:bg-blue-700
|
|
|
|
|
|
|
|
focus:shadow-lg focus:outline-none focus:ring-0 active:bg-blue-800 active:shadow-lg
|
|
|
|
|
|
|
|
transition duration-150 ease-in-out ml-auto">
|
|
|
|
Update
|
|
|
|
Update
|
|
|
|
</button>
|
|
|
|
</button>
|
|
|
|
<button type="button"
|
|
|
|
<button type="button"
|
|
|
|
hx-post="{% url 'tasks:task-delete' task.id %}"
|
|
|
|
hx-post="{% url 'tasks:task-delete' task.id %}"
|
|
|
|
hx-swap="outerHTML">
|
|
|
|
hx-swap="outerHTML"
|
|
|
|
|
|
|
|
class="inline-block px-5 py-1.5 bg-red-600 text-white font-medium text-xs leading-tight
|
|
|
|
|
|
|
|
uppercase rounded shadow-md hover:bg-red-700 hover:shadow-lg focus:bg-red-700
|
|
|
|
|
|
|
|
focus:shadow-lg focus:outline-none focus:ring-0 active:bg-red-800 active:shadow-lg
|
|
|
|
|
|
|
|
transition duration-150 ease-in-out">
|
|
|
|
Delete
|
|
|
|
Delete
|
|
|
|
</button>
|
|
|
|
</button>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|