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