<?php extract($head_info); ?>

<div class="vp-field <?php echo $type; ?><?php echo !empty($container_extra_classes) ? (' ' . $container_extra_classes) : ''; ?>"
     data-vp-type="<?php echo $type; ?>"
    <?php echo VP_Util_Text::print_if_exists(isset($binding) ? $binding : '', 'data-vp-bind="%s"'); ?>
    <?php echo VP_Util_Text::print_if_exists(isset($dependency) ? $dependency : '', 'data-vp-dependency="%s"'); ?>
     id="<?php echo $name; ?>">
    <div class="field" style="height: <?php echo $height; ?>;">
        <div class="input" id="<?php echo $name . '_dom'; ?>">
            <?php echo $value; ?>
        </div>
        <textarea name="<?php echo $name; ?>" class="vp-hide"><?php echo $value; ?></textarea>
        <div class="vp-js-bind-loader vp-field-loader vp-hide"><img src="<?php VP_Util_Res::img_out('ajax-loader.gif', ''); ?>" /></div>
    </div>
</div>