<?php
/**
*
* Copyright (c) 2007 Yahoo! Inc. All rights reserved.
* The copyrights embodied in the content of this file are licensed under the BSD
* open source license
*
**/
$fullname = $sbgui->componentAddress($viewlet->getName());
$label = $viewlet->getLabel();
$id = $viewlet->getDomId();
?>
<span class="sb-passwordfield">
<?php
if ( ! empty( $label ) ) {
?>
<label for="<?php print $id ?>"><?php print $label ?></label>
<?php } ?>
<input type="password" id="<?php print $id ?>" name="<?php print $fullname ?>" />
</span>