fradrive/templates/widgets/fields/examOfficeFieldMode.hamlet

8 lines
291 B
Plaintext

$newline never
<div .radio-group>
$forall opt <- universeF
<div .radio>
$with inputId <- mconcat [theId, "-", toPathPiece opt]
<input id=#{inputId} *{attrs} type=radio name=#{name} value=#{toPathPiece opt} :isChecked opt val:checked>
<label for=#{inputId}>_{opt}