fradrive/templates/widgets/permutation/permutation.hamlet
2022-10-12 09:35:16 +02:00

13 lines
448 B
Plaintext

$newline never
$# SPDX-FileCopyrightText: 2022 Felix Hamann <felix.hamann@campus.lmu.de>,Gregor Kleen <gregor.kleen@ifi.lmu.de>
$#
$# SPDX-License-Identifier: AGPL-3.0-or-later
<ul ##{theId} .list--iconless>
$forall (n, selId) <- nums
<li>
<select ##{selId} name=#{name} :isReq:required *{attrs}>
$forall opt <- options
<option value=#{withNum (optionExternalValue opt) n} :isSel n opt:selected>#{optionDisplay opt}