Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
Pixel Humain
survey
Commits
4b30cd54
Commit
4b30cd54
authored
Jun 18, 2020
by
Anatole Rakotoson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
community wizard
parent
46a7451e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
11 deletions
+2
-11
views/tpls/forms/costum/community/wizard.php
views/tpls/forms/costum/community/wizard.php
+2
-11
No files found.
views/tpls/forms/costum/community/wizard.php
View file @
4b30cd54
...
...
@@ -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"
=>
tru
e
,
"wizard"
=>
fals
e
,
"answer"
=>
$answer
,
"mode"
=>
"w"
,
"showForm"
=>
$showForm
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment