<?php
$name        = $vars["key"];
$settings    = $vars["settings"];
$class       = rad_array_value("class", $settings); //Optional value
$placeholder = rad_array_value("placeholder", $settings); //Optional value
$label       = rad_array_value("label", $settings); //Optional value
?>

<div class="field text-input <?php echo esc_attr($class); ?>" data-name="<?php echo esc_attr($name); ?>">
    <?php if ($label != "") {?>
        <label for="field-<?php echo esc_attr($name); ?>"><?php echo esc_html($label); ?></label>
    <?php }?>
    <input type="password" name="<?php echo esc_attr($name); ?>" value="<?php echo esc_attr($this->rad_GetValue($name)); ?>" placeholder="<?php echo esc_attr($placeholder); ?>" />
</div>