Compare commits

..

No commits in common. "ce4d29b83b49831908920027c05d9314c5123d81" and "f5a9e819eb0344de34bd0a1fb0db1772264db0b2" have entirely different histories.

2 changed files with 9 additions and 12 deletions

View File

@ -140,7 +140,7 @@
> >
{{ csrfToken }} {{ csrfToken }}
{{ deleteMethod }} {{ deleteMethod }}
<button class="icon" role="menuitem"> <button class="icon">
<i class="ri-delete-back-2-line"></i> <i class="ri-delete-back-2-line"></i>
{{( pgettext "Remove" "action" )}} {{( pgettext "Remove" "action" )}}
</button> </button>

View File

@ -105,18 +105,15 @@
</a> </a>
</li> </li>
<li role="presentation"> <li role="presentation">
<form method="POST" action="{{ $.BaseURI }}/{{ .Slug }}" <button role="menuitem"
data-hx-boost="true" data-hx-delete="{{ $.BaseURI }}/{{ .Slug }}"
data-hx-target="main" data-hx-confirm="{{ $confirm }}"
data-hx-confirm="{{ $confirm }}" data-hx-headers='{ {{ csrfHeader }} }'
data-hx-target="main"
> >
{{ csrfToken }} <i class="ri-delete-back-2-line"></i>
{{ deleteMethod }} {{( pgettext "Remove" "action" )}}
<button class="icon" role="menuitem"> </button>
<i class="ri-delete-back-2-line"></i>
{{( pgettext "Remove" "action" )}}
</button>
</form>
</li> </li>
</ul> </ul>
</details> </details>