diff options
Diffstat (limited to 'Omni/Jr/Web.hs')
| -rw-r--r-- | Omni/Jr/Web.hs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Omni/Jr/Web.hs b/Omni/Jr/Web.hs index a4fdee1..bed26a6 100644 --- a/Omni/Jr/Web.hs +++ b/Omni/Jr/Web.hs @@ -1838,8 +1838,8 @@ instance Lucid.ToHtml DescriptionEditPartial where Lucid.div_ [Lucid.id_ "description-block", Lucid.class_ "description-block editing"] <| do Lucid.div_ [Lucid.class_ "description-header"] <| do Lucid.h3_ (if isEpic then "Design" else "Description") - Lucid.a_ - [ Lucid.href_ "#", + Lucid.button_ + [ Lucid.type_ "button", Lucid.class_ "cancel-link", Lucid.makeAttribute "hx-get" ("/tasks/" <> tid <> "/description/view"), Lucid.makeAttribute "hx-target" "#description-block", |
