mirror of
https://github.com/Karaka-Management/oms-QA.git
synced 2026-01-11 15:48:42 +00:00
Fixing templates
This commit is contained in:
parent
7f69aa0e85
commit
fe1922ac1a
|
|
@ -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; ?>
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user