Skip to content

Commit

Permalink
fix: update text for validate responses
Browse files Browse the repository at this point in the history
  • Loading branch information
tikhanovichA committed Dec 17, 2024
1 parent b8cc98a commit cb30e04
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 26 deletions.
26 changes: 13 additions & 13 deletions views/js/controller/creator/templates/itemref-props.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -135,10 +135,10 @@
<div class="itemref-item-session-control toggled">
<!-- assessmentTest/testPart/assessmentSection/sectionPart/itemSessionControl/maxAttempts -->
<div class="grid-row">
<div class="col-5">
<div class="col-6">
<label for="itemref-max-attempts">{{__ 'Max Attempts'}}</label>
</div>
<div class="col-6">
<div class="col-5">
<input
name="itemref-max-attempts"
type="text"
Expand All @@ -161,10 +161,10 @@
{{#if itemSessionShowFeedback}}
<!-- assessmentTest/testPart/assessmentSection/sectionPart/itemSessionControl/showFeedback -->
<div class="grid-row pseudo-label-box checkbox-row">
<div class="col-5">
<div class="col-6">
<label for="itemref-show-feedback">{{__ 'Show Feedback'}}</label>
</div>
<div class="col-6">
<div class="col-5">
<label>
<input type="checkbox" name="itemref-show-feedback" value="true" data-bind="itemSessionControl.showFeedback" data-bind-encoder="boolean" />
<span class="icon-checkbox"></span>
Expand All @@ -182,10 +182,10 @@
{{!-- Property not yet available in delivery
<!-- assessmentTest/testPart/assessmentSection/sectionPart/itemSessionControl/allowReview -->
<div class="grid-row pseudo-label-box checkbox-row">
<div class="col-5">
<div class="col-6">
<label for="itemref-show-allow-review">{{__ 'Allow Review'}}</label>
</div>
<div class="col-6">
<div class="col-5">
<label>
<input type="checkbox" name="itemref-allow-review" value="true" checked="checked" data-bind="itemSessionControl.allowReview" data-bind-encoder="boolean" />
<span class="icon-checkbox"></span>
Expand All @@ -203,10 +203,10 @@
{{!-- Property not yet available in delivery
<!-- assessmentTest/testPart/assessmentSection/sectionPart/itemSessionControl/showSolution -->
<div class="grid-row pseudo-label-box checkbox-row">
<div class="col-5">
<div class="col-6">
<label for="itemref-show-solution">{{__ 'Show Solution'}}</label>
</div>
<div class="col-6">
<div class="col-5">
<label>
<input type="checkbox" name="itemref-show-solution" value="true" data-bind="itemSessionControl.showSolution" data-bind-encoder="boolean" />
<span class="icon-checkbox"></span>
Expand All @@ -224,10 +224,10 @@
<!-- assessmentTest/testPart/assessmentSection/sectionPart/itemSessionControl/allowComment -->
{{#if itemSessionAllowComment}}
<div class="grid-row pseudo-label-box checkbox-row">
<div class="col-5">
<div class="col-6">
<label for="itemref-allow-comment">{{__ 'Allow Comment'}}</label>
</div>
<div class="col-6">
<div class="col-5">
<label>
<input type="checkbox" name="itemref-allow-comment" value="true" data-bind="itemSessionControl.allowComment" data-bind-encoder="boolean" />
<span class="icon-checkbox"></span>
Expand All @@ -245,10 +245,10 @@
<!-- assessmentTest/testPart/assessmentSection/sectionPart/itemSessionControl/allowSkipping -->
{{#if itemSessionAllowSkipping}}
<div class="grid-row pseudo-label-box checkbox-row">
<div class="col-5">
<div class="col-6">
<label for="itemref-allow-skipping">{{__ 'Allow Skipping'}}</label>
</div>
<div class="col-6">
<div class="col-5">
<label>
<input type="checkbox" name="itemref-allow-skipping" value="true" checked="checked" data-bind="itemSessionControl.allowSkipping" data-bind-encoder="boolean" />
<span class="icon-checkbox"></span>
Expand All @@ -269,7 +269,7 @@
<div class="col-6">
<label for="itemref-validate-responses">{{__ 'Enforce Item Constraints'}}</label>
</div>
<div class="col-6">
<div class="col-5">
<label>
<input type="checkbox" name="itemref-validate-responses" value="true" data-bind="itemSessionControl.validateResponses" data-bind-encoder="boolean" />
<span class="icon-checkbox"></span>
Expand Down
26 changes: 13 additions & 13 deletions views/js/controller/creator/templates/testpart-props.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -130,10 +130,10 @@

<!-- assessmentTest/testPart/itemSessionControl/maxAttempts -->
<div class="grid-row">
<div class="col-5">
<div class="col-6">
<label for="testpart-max-attempts">{{__ 'Max Attempts'}}</label>
</div>
<div class="col-6">
<div class="col-5">
<input
id="testpart-max-attempts"
type="text"
Expand All @@ -156,10 +156,10 @@
<!-- assessmentTest/testPart/itemSessionControl/showFeedback -->
{{#if itemSessionShowFeedback}}
<div class="grid-row pseudo-label-box checkbox-row">
<div class="col-5">
<div class="col-6">
<label for="testpart-show-feedback">{{__ 'Show Feedback'}}</label>
</div>
<div class="col-6">
<div class="col-5">
<label>
<input type="checkbox" name="testpart-show-feedback" value="true" data-bind="itemSessionControl.showFeedback" data-bind-encoder="boolean" />
<span class="icon-checkbox"></span>
Expand All @@ -177,10 +177,10 @@
{{!-- Property not yet available in delivery
<!-- assessmentTest/testPart/itemSessionControl/allowReview -->
<div class="grid-row pseudo-label-box checkbox-row">
<div class="col-5">
<div class="col-6">
<label for="testpart-show-allow-review">{{__ 'Allow Review'}}</label>
</div>
<div class="col-6">
<div class="col-5">
<label>
<input type="checkbox" name="testpart-allow-review" value="true" checked="checked" data-bind="itemSessionControl.allowReview" data-bind-encoder="boolean" />
<span class="icon-checkbox" />
Expand All @@ -198,10 +198,10 @@
{{!-- Property not yet available in delivery
<!-- assessmentTest/testPart/itemSessionControl/showSolution -->
<div class="grid-row pseudo-label-box checkbox-row">
<div class="col-5">
<div class="col-6">
<label for="testpart-show-solution">{{__ 'Show Solution'}}</label>
</div>
<div class="col-6">
<div class="col-5">
<label>
<input type="checkbox" name="testpart-show-solution" value="true" data-bind="itemSessionControl.showSolution" data-bind-encoder="boolean" />
<span class="icon-checkbox" />
Expand All @@ -219,10 +219,10 @@
<!-- assessmentTest/testPart/itemSessionControl/allowComment -->
{{#if itemSessionAllowComment}}
<div class="grid-row pseudo-label-box checkbox-row">
<div class="col-5">
<div class="col-6">
<label for="testpart-allow-comment">{{__ 'Allow Comment'}}</label>
</div>
<div class="col-6">
<div class="col-5">
<label>
<input type="checkbox" name="testpart-allow-comment" value="true" data-bind="itemSessionControl.allowComment" data-bind-encoder="boolean" />
<span class="icon-checkbox"></span>
Expand All @@ -240,10 +240,10 @@
<!-- assessmentTest/testPart/itemSessionControl/allowSkipping -->
{{#if itemSessionAllowSkipping}}
<div class="grid-row pseudo-label-box checkbox-row">
<div class="col-5">
<div class="col-6">
<label for="testpart-allow-skipping">{{__ 'Allow Skipping'}}</label>
</div>
<div class="col-6">
<div class="col-5">
<label>
<input type="checkbox" name="testpart-allow-skipping" value="true" checked="checked" data-bind="itemSessionControl.allowSkipping" data-bind-encoder="boolean" />
<span class="icon-checkbox"></span>
Expand All @@ -263,7 +263,7 @@
<div class="col-6">
<label for="testpart-validate-responses">{{__ 'Enforce Item Constraints'}}</label>
</div>
<div class="col-6">
<div class="col-5">
<label>
<input type="checkbox" name="testpart-validate-responses" value="true" data-bind="itemSessionControl.validateResponses" data-bind-encoder="boolean" />
<span class="icon-checkbox"></span>
Expand Down

0 comments on commit cb30e04

Please sign in to comment.