Skip to content

Commit

Permalink
Dev: Add form-group class to multiple short text question type
Browse files Browse the repository at this point in the history
  • Loading branch information
olleharstedt committed Mar 14, 2016
1 parent d41de41 commit c901500
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 13 deletions.
Expand Up @@ -25,7 +25,7 @@
</div>
<?php endif;?>

<div class="form-group-row row">
<div class="form-group row">
<label class='control-label col-xs-12 col-sm-<?php echo $sLabelWidth; ?>' for="answer<?php echo$myfname;?>">
<?php echo $question; ?>
</label>
Expand Down
Expand Up @@ -17,23 +17,22 @@
<!-- Multiple short texts question, item text area Html -->
<!-- question attribute "display_rows" is set -> we need a textarea to be able to show several rows -->
<div class="question-item answer-item text-item <?php echo $extraclass;?>" <?php echo $sDisplayStyle;?>>
<div class="form-group-row row">
<div class="form-group row">
<label class='control-label col-xs-12 col-sm-<?php echo $sLabelWidth; ?>' for="answer<?php echo $myfname; ?>">
<?php echo $labelText;?>
</label>
<div class="col-xs-12 col-sm-<?php echo $sInputContainerWidth; ?>">
<?php echo $prefix;?>

<textarea
class="form-control textarea <?php echo $kpclass;?>"
name="<?php echo $myfname;?>"
id="answer<?php echo $myfname;?>"
rows="<?php echo $rows;?>"
<?php echo $maxlength;?>
onkeyup="<?php echo $checkconditionFunction; ?>"
>
<?php echo $dispVal;?>
</textarea>
<textarea
class="form-control textarea <?php echo $kpclass;?>"
name="<?php echo $myfname;?>"
id="answer<?php echo $myfname;?>"
rows="<?php echo $rows;?>"
<?php echo $maxlength;?>
onkeyup="<?php echo $checkconditionFunction; ?>"
>
<?php echo $dispVal;?>
</textarea>
<?php echo $suffix;?>
</div>
</div>
Expand Down

0 comments on commit c901500

Please sign in to comment.