You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

41 lines
1018 B

<div class="container">
<div class="starter-template">
<h1>Geef de score aan</h1>
<?php echo form_open(base_url().'beoordelen/score_save'); ?>
<?php echo form_hidden('subgroepid', $subgroepid); ?>
<?php
foreach ($vragen as $vraag)
{ ?>
<div class="row">
<div class="col-xs-9 col-sm-6 col-sm-offset-3">
<?php echo $vraag['vraag']; ?>
</div>
<div class="col-xs-3 col-sm-1">
<?php if ($vraag['antwoord'] == 0) {
echo ': '.form_checkbox($vraag['id'], '1');
} else {
for ($i=1; $i <= $vraag['score']; $i++) {
$score[$i] = $i;
}
echo form_dropdown($vraag['id'], $score);
} ?>
</div>
</div>
<?php } ?>
<p>
<div class="row">
<div class="col-xs-2 col-sm-2 col-xs-offset-4 col-sm-offset-5">
<button type="submit" class="btn btn-success btn-lg">Opslaan</button>
</div>
</div>
<?php echo form_close(); ?>
</div>
</div>