Use psShortcircuit in colonnade.hamlet
This commit is contained in:
parent
08607a5e7c
commit
3047dfe9f2
@ -1,4 +1,5 @@
|
||||
<table id="#{dbtIdent}">
|
||||
$if not psShortcircuit
|
||||
<table id="#{dbtIdent}">
|
||||
$maybe sortableP <- pSortable
|
||||
$with toSortable <- toSortable sortableP
|
||||
<thead>
|
||||
@ -10,3 +11,9 @@
|
||||
<tr>
|
||||
$forall OneColonnade{..} <- getColonnade dbtColonnade
|
||||
^{widgetFromCell td $ oneColonnadeEncode row}
|
||||
$else
|
||||
<tbody>
|
||||
$forall row <- rows
|
||||
<tr>
|
||||
$forall OneColonnade{..} <- getColonnade dbtColonnade
|
||||
^{widgetFromCell td $ oneColonnadeEncode row}
|
||||
|
||||
Reference in New Issue
Block a user