Commit 041fc1af authored by Tibor Katelbach's avatar Tibor Katelbach
Browse files

Merge branch 'anatole' into 'master'

Anatole

See merge request !3
parents 46a7451e 8beff16a
......@@ -39,21 +39,12 @@ if( isset(Yii::app()->session["costum"]["tpls"][$keyTpl]) ) {
}
</style>
<ul id="wizardLinks">
<?php
// var_dump($listSteps); exit;
$activeStep = 1;
$nextStepValid =false;
?>
</ul>
<?php
foreach ($formList as $k => $v) {
$hide = ($k==$activeStep) ? "" : "hide";
?>
<div id='<?php echo $v ?>' class='col-sm-offset-1 col-sm-10 sectionStep <?php echo $hide ?>' style="padding-bottom:40px">
<div id='<?php echo $v ?>' class='col-sm-offset-1 col-sm-10 sectionStep ' style="padding-bottom:40px">
<?php
$form = PHDB::findOne( Form::COLLECTION,[ "id"=>$v ] );
?>
......@@ -81,7 +72,7 @@ var formInputsHere = formInputs;
echo $this->renderPartial("survey.views.tpls.forms.formSection",
[ "formId" => $v,
"form" => $form,
"wizard" => true,
"wizard" => false,
"answer"=>$answer,
"mode" => "w",
"showForm" => $showForm,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment