<?php
/**
 * List with comment, list style, Html
 *
 * @var $sRows         : the list of radio, generated with the view answer_row.php
 *
 * @var $id
 * @var $hint_comment
 * @var $kpclass
 * @var $name
 * @var $tarows
 * @var $has_comment_saved
 * @var $comment_saved
 * @var $java_name
 * @var $java_id
 * @var $java_value
 */
?>
<!-- List with comment, list style, -->

<!-- answer -->
<div class="list">
    <div class="list-unstyled answers-list radio-list">

        <?php
            // rows/row.php
            echo $sRows;
        ?>

    </div>
</div>

<p class="comment answer-item text-item">
    <label for="<?php echo $id; ?>">
        <?php echo $hint_comment;?>:
    </label>

    <textarea
            class="textarea form-control <?php echo $kpclass; ?>"
            name="<?php echo $name; ?>"
            id="<?php echo $id; ?>"
            rows="<?php echo $tarows;?>"
            cols="30"
            >
            <?php if($has_comment_saved):?>
                <?php echo $comment_saved;?>
            <?php endif;?>
    </textarea>
</p>

<input
        class="radio"
        type="hidden"
        name="<?php echo $java_name;?>"
        id="<?php echo $java_id;?>"
        value="<?php echo $java_value;?>"
      />
<!-- end of answer -->
