module Web.View.GovernanceTemplates.New where import Web.Types import Generated.Types import IHP.Prelude import IHP.ViewPrelude data NewView = NewView { template :: !GovernanceTemplate , hubs :: ![Hub] , categories :: ![(Text, Text)] -- (name, label) } instance View NewView where html NewView { .. } = [hsx|
← Governance Templates

New Governance Template

{csrfTokenFormField}
{forEach categories (\(n, l) -> [hsx| |])}
|]