Fixing templates

This commit is contained in:
Dennis Eichhorn 2017-06-24 10:51:43 +02:00
parent 7f69aa0e85
commit fe1922ac1a

View File

@ -1,12 +1,12 @@
<?php
$questions = $this->getData('questions');
?>
echo $this->getData('nav')->render(); ?>
<div class="row">
<div class="col-xs-12">
<?php foreach($questions as $question) : ?>
<section class="box wf-100">
<?= count($question->getAnswers()); ?> <?= $question->getName(); ?>
<section class="box wf-100 qa-list">
<div class=".score"><?= count($question->getAnswers()); ?><div><h1><?= $question->getName(); ?></h1>
<?php $badges = $question->getBadges(); foreach($badges as $badge) : ?>
<?= $badge->getName(); ?>
<?php endforeach; ?>