-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
8 changed files
with
317 additions
and
102 deletions.
There are no files selected for viewing
22 changes: 7 additions & 15 deletions
22
examples/minimal/python/local/minimal_example/templates/formulation.xhtml.j2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,13 @@ | ||
<div xmlns="http://www.w3.org/1999/xhtml" | ||
xmlns:qpy="http://questionpy.org/ns/question"> | ||
<div><?p description?></div> | ||
<fieldset qpy:shuffle-contents="" style="display: flex; flex-direction: column"> | ||
<span qpy:feedback="unknown">Unknown feedback type.</span> | ||
<qpy:unknown-element/> | ||
<div>Missing placeholder.<?p missing invalid-cleaning-option?></div> | ||
<div qpy:if-role="deviloper|scorsese">Unknown roles.</div> | ||
<qpy:format-float thousands-separator="maybe" precision="-1">Unknown value.</qpy:format-float> | ||
<fieldset qpy:shuffle-contents=""> | ||
<label> | ||
<input type="radio" name="choice" value="A"/> | ||
<qpy:shuffled-index format="123"/>. A | ||
<span qpy:feedback="specific" style="margin-left: .5em; background: rgb(255, 227, 78)">A ist der erste Buchstabe im deutschen Alphabet.</span> | ||
</label> | ||
<label> | ||
<input type="radio" name="choice" value="B" qpy:correct-response=""/> | ||
<qpy:shuffled-index format="123"/>. B | ||
<span qpy:feedback="specific" style="margin-left: .5em; background: rgb(255, 227, 78)">Richtig!</span> | ||
</label> | ||
<label> | ||
<input type="radio" name="choice" value="C"/> | ||
<qpy:shuffled-index format="123"/>. C | ||
<span qpy:feedback="specific" style="margin-left: .5em; background: rgb(255, 227, 78)">C ist der dritte Buchstabe im deutschen Alphabet.</span> | ||
<qpy:shuffled-index format="invalid"/>. A | ||
</label> | ||
</fieldset> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.