<div class="container animated fadeInUp">
    <div class="row">  
        <div class="col-md-7 col-md-offset-2 no-padding">
            <div class="row wrapper">
                <div class="col-lg-12 col-md-12 col-sm-12 col-xs-12 white">
                    <div class="row">
                        <div class="col-lg-10 col-md-9 col-sm-10 col-xs-12">
                            <h1 class="normal"><i class="fa fa-cubes"></i> <?php echo Configure::read('CFG.site_name'); ?> <?php echo __('Login') ?></h1>
                            <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.</p>
                            <p><?php echo $this->Html->link('<i class="fa fa-user"></i> ' . (Configure::read('CFG.users_register') ? __('Sign Up') : __('Request account')), array('controller'=>'users', 'action'=>'register'), array('class' => 'btn btn-info', 'escape' => false)); ?></p>
                        </div>
                    </div>
                </div>

                <div class="col-lg-12 col-md-12 col-sm-12 col-xs-12 grey">
                    <?php
                    echo $this->Session->flash(); 
                    echo $this->Session->flash('auth');
                    ?>
                    <form method="post" id="UserLoginForm" action="/users/login">
                        <div class="row">
                            <div class="col-lg-6 col-md-6 col-sm-6 col-xs-12 form-row">
                                <input type="text" name="data[User][email]" id="UserEmail" class="form-control" placeholder="<?php echo __('Email address'); ?>" />
                            </div>
                            <div class="col-lg-6 col-md-6 col-sm-6 col-xs-12 form-row">
                                <input type="password" name="data[User][password]" id="UserPassword" class="form-control" placeholder="<?php echo __('Password'); ?>" />
                            </div>
                            <div class="clearfix"></div>
                            <div class="control-group col-md-8 form-row">
                                <div class="checkbox check-success"> <?php echo $this->Html->link(__('Forgot your password?'), array('controller'=>'users', 'action'=>'recover')); ?>&nbsp;&nbsp;
                                    <input type="checkbox" name="data[User][remember_me]" id="checkbox1" value="1">
                                    <label for="checkbox1"><?php echo __('Keep me logged in'); ?></label>
                                </div>
                            </div>
                            <div class="col-md-4 form-row">
                                <div class="pull-right">
                                    <button type="submit" class="btn btn-primary"><i class="fa fa-arrow-circle-o-right" data-loading-text="Loading..."></i> <?php echo __('Login'); ?></button>
                                </div>
                            </div>
                        </div>
                    </form>
                </div>
            </div>
        </div>
    </div>
</div>
<script type="text/javascript">
$(document).ready(function(){
    $('#UserEmail').focus(); 
});
</script>