Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Dev: used {{ thissurvey.name }} instead of {SURVEYNAME}
- Loading branch information
LouisGac
committed
Dec 21, 2016
1 parent
c9213dd
commit 30e9e05
Showing
1 changed file
with
1 addition
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 comments
on commit 30e9e05
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I see a commented list of the TWIG vars in the .pstpl file but do we have a list of them (and their descriptions) in the manual anywhere?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
tpartner: we still have to choose what variables will be available from the pstpl file. But:
- A good guess is: oSurvey, oQuestionGroup, and oQuestion
- While moving the logic from the helpers to the pstpl file, we'll find all the needed variables to pass.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks
How about
{survey.name}}
? Will it still work without the spaces inside the brackets?