fradrive/templates/widgets/massinput/examParts/layout.hamlet
2020-05-19 10:21:42 +02:00

32 lines
718 B
Plaintext

$newline never
<table>
<thead>
<tr>
<th>
_{MsgExamPartNumber} #
<span .form-group__required-marker>
<th>_{MsgExamPartName}
<th>_{MsgExamPartMaxPoints}
<th>
_{MsgExamPartWeight} #
<span .form-group__required-marker>
<td>
<tr .form-group__hint>
<td>
_{MsgExamPartNumberTip}
<td>
_{MsgExamPartNameTip}
<td>
<td>
_{MsgExamPartWeightTip}
<td>
<tbody>
$forall coord <- review liveCoords lLength
<tr .massinput__cell>
^{cellWdgts ! coord}
<td>
^{fvWidget (delButtons ! coord)}
<tfoot>
<tr .massinput__cell.massinput__cell--add>
^{addWdgts ! (0, 0)}