diff --git a/web/components/attachment_card.templ b/web/components/attachment_card.templ index f1e4ba8..b9f8b10 100644 --- a/web/components/attachment_card.templ +++ b/web/components/attachment_card.templ @@ -19,13 +19,13 @@ templ AttachmentCard(props AttachmentCardProps) {

{ props.Attachment.Name }

- - + @icons.Eye("h-5 w-5") - + @icons.Download("h-5 w-5")
diff --git a/web/components/attachment_card_templ.go b/web/components/attachment_card_templ.go index 213e525..5f49a11 100644 --- a/web/components/attachment_card_templ.go +++ b/web/components/attachment_card_templ.go @@ -67,7 +67,7 @@ func AttachmentCard(props AttachmentCardProps) templ.Component { if err != nil { return err } - _, err = templBuffer.WriteString("

-
+
- + @icons.Add("w-5 h-5") -
diff --git a/web/pages/envelope_templ.go b/web/pages/envelope_templ.go index 5b82fb1..552c233 100644 --- a/web/pages/envelope_templ.go +++ b/web/pages/envelope_templ.go @@ -327,7 +327,7 @@ func envelopeListView(m meta.Meta, props envelopeListViewProps) templ.Component if err != nil { return err } - _, err = templBuffer.WriteString("\">