Update to bootstrap 4.0

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

View file

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