Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Dev: Converted php into twig for equation question type
- Loading branch information
1 parent
c7ff98a
commit a928abe
Showing
2 changed files
with
17 additions
and
17 deletions.
There are no files selected for viewing
17 changes: 0 additions & 17 deletions
17
application/views/survey/questions/answer/equation/answer.php
This file was deleted.
Oops, something went wrong.
17 changes: 17 additions & 0 deletions
17
application/views/survey/questions/answer/equation/answer.twig
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
{# | ||
/** | ||
* Equation Html | ||
* @var $name | ||
* @var $sValue | ||
* @var $sEquation | ||
*/ | ||
#} | ||
|
||
<!-- Equation --> | ||
|
||
<!-- answer --> | ||
<input type="hidden" name="{{ name }}" id="java{{ name }}" value="{{ sValue }}"> | ||
<div class='{{ coreClass }} hidden'> | ||
{{ sEquation }} | ||
</div> | ||
<!-- end of answer --> |