module Web.View.GovernanceTemplates.Index where import Web.Types import Generated.Types import IHP.Prelude import IHP.ViewPrelude import Data.Aeson (Value(..), decode, encode) import qualified Data.ByteString.Lazy.Char8 as BL type TemplateIndexRow = (GovernanceTemplate, Int) data IndexView = IndexView { templates :: ![TemplateIndexRow] } instance View IndexView where html IndexView { .. } = [hsx|
Published reusable governance templates.
No published templates yet.
|] else mempty}{d}
|]) template.description}