Skip to content

Commit

Permalink
Dev: template editor : question / short free text part
Browse files Browse the repository at this point in the history
  • Loading branch information
Shnoulle committed Oct 18, 2016
1 parent e65d8a2 commit 7b48f49
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 22 deletions.
Expand Up @@ -2,28 +2,7 @@
<?php
if (isset($alt))
{
?>

<div class="row question-wrapper">
<div class="col-sm-12 answer">
<!-- Long Free Text -->

<!-- answer -->
<p class="question answer-item text-item inputwidth-12 col-sm-12">
<label for="answer319974X232X4271" class="hide label">
<?php eT('Answer') ?>
</label>

<textarea class="form-control textarea empty" name="319974X232X4271" id="answer319974X232X4271" rows="5" cols="12" onkeyup="checkconditions(this.value, this.name, this.type)">
<?php eT('Some text in this answer') ?>
</textarea>
</p>
<!-- end of answer -->

</div>
</div>

<?php
App()->getController()->renderPartial('/admin/templates/templateeditor_question_answertext_view');
}else{
?>
<!-- List Radio -->
Expand Down
@@ -0,0 +1,14 @@
<?php
App()->getController()->renderPartial('/survey/questions/longfreetext/answer', array(
'extraclass' => 'col-sm-12',
'coreClass' =>"ls-answers answer-item text-item",
'withColumn' =>true,
'kpclass' => '',
'name' => '1234X56X78',
'drows' => 5,
'dispVal' => gT('Some text in this answer'),
'tiwidth' => 40,
'maxlength' => '',
'checkconditionFunction' => '',
));
?>

0 comments on commit 7b48f49

Please sign in to comment.