Realy add UCQ and int input
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
12f956f8d6
commit
b2954ccb4c
4 changed files with 13 additions and 5 deletions
|
|
@ -22,7 +22,7 @@
|
|||
<form class="card mb-2" ng-repeat="response in responses" ng-if="!notCorrected || !response.time_scored">
|
||||
<div class="card-body">
|
||||
<button type="button" class="btn btn-success ml-1 float-right" ng-class="{'mt-4': $index%2}" ng-click="submitCorrection()"><svg class="bi bi-check" width="1em" height="1em" viewBox="0 0 20 20" fill="currentColor" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" d="M15.854 5.646a.5.5 0 010 .708l-7 7a.5.5 0 01-.708 0l-3.5-3.5a.5.5 0 11.708-.708L8.5 12.293l6.646-6.647a.5.5 0 01.708 0z" clip-rule="evenodd"></path></svg></button>
|
||||
<p class="card-text" style="white-space: pre-line" ng-bind="response.value" ng-if="question.kind == 'text'"></p>
|
||||
<p class="card-text" style="white-space: pre-line" ng-bind="response.value" ng-if="question.kind == 'text' || question.kind == 'int'"></p>
|
||||
<div class="card-text" ng-if="question.kind == 'mcq'" ng-controller="ProposalsController">
|
||||
<div class="form-group form-check" ng-repeat="proposal in proposals">
|
||||
<input type="checkbox" disabled class="form-check-input" id="p{{proposal.id}}" ng-checked="response.value.indexOf(proposal.id) != -1">
|
||||
|
|
|
|||
Reference in a new issue