Skip to content

Commit

Permalink
Dev: Converted php into twig for equation question type
Browse files Browse the repository at this point in the history
  • Loading branch information
dominikvitt committed May 2, 2018
1 parent c7ff98a commit a928abe
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 17 deletions.
17 changes: 0 additions & 17 deletions application/views/survey/questions/answer/equation/answer.php

This file was deleted.

17 changes: 17 additions & 0 deletions application/views/survey/questions/answer/equation/answer.twig
@@ -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 -->

0 comments on commit a928abe

Please sign in to comment.