fradrive/templates/widgets/massinput/workflow-payload-field-multiple/layout.hamlet
2020-10-19 21:46:10 +02:00

20 lines
604 B
Plaintext

$newline never
<table>
<tbody>
$forall coord <- review liveCoords lLength
<tr .massinput__cell>
^{cellWdgts ! coord}
<td>
$maybe delView <- delButtons !? coord
^{fvWidget delView}
$if null (review liveCoords lLength)
<tr>
<td colspan=2 .note>
_{MsgWorkflowEdgeFormFieldMultipleNoneAdded}
<td colspan=2>
<div style="height:1px; width:90%; margin: 0.5em auto; background-color: var(--color-grey);">
$maybe addWdgt <- addWdgts !? (0, 0)
<tfoot>
<tr .massinput__cell.massinput__cell--add>
^{addWdgt}