<?php
/**
 * @var $key string
 * @var $field string
 * @var $args string
 */
?>
<label for="<?= $key ?>"><?= $field['label'] ?? "" ?></label>
<textarea name="<?= $key ?>" class="bp-form-control <?= $args['class'] ?? "" ?> <?= (isset($field['required']) && $field['required']) ? "required" : "" ?>" id="<?= $key ?>" cols="30" rows="10"></textarea>
<span id="error-<?= $key ?>" class="bp-form-error <?= apply_filters('bp_hidden_class', 'hidden') ?>"><?= (isset($field['required']) && $field['required']) ? $field['notice'] : ""
    ?></span>