<?php
/**
 * @version 7.9 [rev.7.9.02]
 */
?>
<div class="login-form">
    <form method="<?php echo $this->form->getMethod(); ?>" action="<?php echo $this->form->getAction(); ?>">
        <?php echo $this->form->hiddenElements; ?>

        <?php foreach ((array)$this->messages as $message) { ?>
            <div class="alert <?php echo $message['class']; ?>">
                <button type="button" class="close" data-dismiss="alert">×</button>
                <?php if (is_array($message['msg'])) { ?>
                    <?php foreach ($message['msg'] as $msg) { ?>
                        <div><?php echo $this->translate($msg); ?></div>
                    <?php } ?>
                <?php }
                else { ?>
                    <?php echo $this->translate($message['msg']); ?>
                <?php } ?>
            </div>
        <?php } ?>

        <div class="form-group">
            <div class="icon-addon addon-lg">
                <?php echo $this->form->username; ?>
                <label class="glyphicon glyphicon-user" rel="tooltip" title="email"></label>
            </div>
        </div>
        <div class="form-group">
            <div class="icon-addon addon-lg">
                <?php echo $this->form->password; ?>
                <label class="glyphicon glyphicon-lock" rel="tooltip" title="email"></label>
            </div>
        </div>
        <div class="form-group">
            <?php echo $this->form->submit; ?>
        </div>
    </form>
</div>