Update to bootstrap 4.0

This commit is contained in:
nemunaire 2018-01-19 18:20:42 +01:00
parent bbaf0ed9d9
commit cef37673fa
4 changed files with 13 additions and 14 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -72,10 +72,9 @@
<div class="form-check" ng-repeat="(k,mcq) in mcqs"> <div class="form-check" ng-repeat="(k,mcq) in mcqs">
<p ng-if="mcq.title" ng-bind="mcq.title"></p> <p ng-if="mcq.title" ng-bind="mcq.title"></p>
<label class="custom-control custom-checkbox" ng-repeat="(cid,choice) in mcq.choices" style="display: block"> <div class="custom-control custom-checkbox" ng-repeat="(cid,choice) in mcq.choices" style="display: block">
<input class="custom-control-input" type="checkbox" name="mcq_{{k}}_{{cid}}" ng-model="choice.value"> <input class="custom-control-input" type="checkbox" id="mcq_{{k}}_{{cid}}" name="mcq_{{k}}_{{cid}}" ng-model="choice.value">
<span class="custom-control-indicator"></span> <label class="custom-control-label" for="mcq_{{k}}_{{cid}}" ng-bind="choice.label"></label>
<span class="custom-control-description" ng-bind="mcq.label"></span>
</label> </label>
<hr> <hr>
</div> </div>