<div id="admin" class="container">

    <div class="col-lg-6 col-lg-offset-3 col-md-6 col-md-offset-3 col-sm-6 col-sm-offset-3 col-xs-6 col-xs-offset-3">
        <h1 class="mb30">BackOffice - Login</h1>
        <div id="form-newsletter" class="mb5">
            <div class="row">

                <?php echo form_open('site/admin_login', array('id' => 'admin_login')); ?>
                <div class="col-lg-12 col-md-12 col-sm-12 mb20">
                    <input type="email" name="email" placeholder="<?php echo $this->lang->line('Email'); ?>" value="" required="" />
                </div>
                <div class="col-lg-12 col-md-12 col-sm-12 mb10">
                    <input type="password" name="password" placeholder="password" value="" required="" />
                </div>
                <div class="col-lg-5 col-md-5 col-sm-5">
                    <input type="submit" value="Login" />
                </div>
                <?php echo form_close(); ?>
            </div>
            <?php if($extraData['error_message'] != '') :?>
            <div class="row" style="margin-top: 10px;">
                    <div class="col-lg-12 col-md-12 col-sm-12 col-xs-12  alert alert-danger"><?php echo $extraData['error_message']; ?></div>
                </div>
            <?php endif;?>
        </div>
    </div>


</div>