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 longfreetext question type
- Loading branch information
1 parent
04e1be0
commit c7ff98a
Showing
2 changed files
with
39 additions
and
39 deletions.
There are no files selected for viewing
39 changes: 0 additions & 39 deletions
39
application/views/survey/questions/answer/longfreetext/answer.php
This file was deleted.
Oops, something went wrong.
39 changes: 39 additions & 0 deletions
39
application/views/survey/questions/answer/longfreetext/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,39 @@ | ||
{# | ||
/** | ||
* Lon free text question, item Html | ||
* | ||
* @var extraclass | ||
* @var name | ||
* @var drows | ||
* @var tiwidth | ||
* @var maxlength | ||
* @var checkconditionFunction | ||
* @var dispVal | ||
*/ | ||
#} | ||
<!-- Long Free Text --> | ||
|
||
<!-- answer --> | ||
{% if withColumn %} | ||
<div class='{{ coreClass }} row'> | ||
<div class="{{ extraclass }}"> | ||
{% else %} | ||
<div class='{{ coreClass }} {{ extraclass }}'> | ||
{% endif %} | ||
<textarea | ||
class="form-control {{ kpclass }}" | ||
name="{{ name }}" | ||
id="answer{{ name }}" | ||
rows="{{ drows }}" | ||
{% if inputsize %} cols="{{ inputsize }}" {% endif %} | ||
{% if maxlength %} maxlength="{{ maxlength }}" {% endif %} | ||
aria-labelledby="ls-question-text-{{ basename }}" | ||
>{{ dispVal }}</textarea> | ||
{% if withColumn %} | ||
</div> | ||
</div> | ||
{% else %} | ||
</div> | ||
{% endif %} | ||
|
||
<!-- end of answer --> |