Merge remote-tracking branch 'origin/main' into LPM-78

This commit is contained in:
Robin Olsen
2026-02-25 13:43:07 +01:00
13 changed files with 279 additions and 206 deletions

View File

@@ -11,19 +11,6 @@ type IssueDetailProps struct {
}
templ IssueDetail(props IssueDetailProps) {
<div class="flex flex-row gap-2 mb-2">
<a
class="btn btn-primary"
hx-get={ "/issues/" + props.Issue.ID + "/edit" }
hx-target="#modal-container"
hx-swap="innerHTML"
>Edit</a>
<a
class="btn btn-error"
hx-delete={ "/issues/" + props.Issue.ID }
hx-confirm="Are you sure you want to delete this issue?"
>Delete</a>
</div>
<h2 class="text-2xl font-bold m-2">
{ props.Issue.Title }
</h2>