Compare commits
2 Commits
f5a9e819eb
...
ce4d29b83b
Author | SHA1 | Date |
---|---|---|
jordi fita mas | ce4d29b83b | |
jordi fita mas | 193409eed8 |
|
@ -140,7 +140,7 @@
|
||||||
>
|
>
|
||||||
{{ csrfToken }}
|
{{ csrfToken }}
|
||||||
{{ deleteMethod }}
|
{{ deleteMethod }}
|
||||||
<button class="icon">
|
<button class="icon" role="menuitem">
|
||||||
<i class="ri-delete-back-2-line"></i>
|
<i class="ri-delete-back-2-line"></i>
|
||||||
{{( pgettext "Remove" "action" )}}
|
{{( pgettext "Remove" "action" )}}
|
||||||
</button>
|
</button>
|
||||||
|
|
|
@ -105,15 +105,18 @@
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
<li role="presentation">
|
<li role="presentation">
|
||||||
<button role="menuitem"
|
<form method="POST" action="{{ $.BaseURI }}/{{ .Slug }}"
|
||||||
data-hx-delete="{{ $.BaseURI }}/{{ .Slug }}"
|
data-hx-boost="true"
|
||||||
data-hx-confirm="{{ $confirm }}"
|
data-hx-target="main"
|
||||||
data-hx-headers='{ {{ csrfHeader }} }'
|
data-hx-confirm="{{ $confirm }}"
|
||||||
data-hx-target="main"
|
|
||||||
>
|
>
|
||||||
<i class="ri-delete-back-2-line"></i>
|
{{ csrfToken }}
|
||||||
{{( pgettext "Remove" "action" )}}
|
{{ deleteMethod }}
|
||||||
</button>
|
<button class="icon" role="menuitem">
|
||||||
|
<i class="ri-delete-back-2-line"></i>
|
||||||
|
{{( pgettext "Remove" "action" )}}
|
||||||
|
</button>
|
||||||
|
</form>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</details>
|
</details>
|
||||||
|
|
Loading…
Reference in New Issue