Merge remote-tracking branch 'origin/main' into LPM-78
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user