<?php
$view->extend('MarketZodacoBundle::base.html.php');
?>
<?php $view['slots']->set('title', $view['translator']->trans("Login")." | ".$view['translator']->trans("Zodaco Market")) ?>

        <div class="col-sm-12 col-lg-12 main" id="mainContents">
            <div class="container">
<div class="row">
    <div class="col-lg-12 no-padding">
        <div class="col-lg-5 centerDiv">
            <?php if ($error) { ?>
                <div class="alert bg-danger" role="alert">
                    <ul>
                        <?php if ($error) { ?>
                            <li><?php echo $view['translator']->trans("Error! Please try again."); ?></li>
                        <?php } ?>
                    </ul>
                </div>
            <?php } ?>
            <div class="panel panel-default">
                <div class="panel-body">
                    <form role="form" method="POST" action="">
                        <fieldset>
                            <div class="form-group">
                                <center><h3><i class="fa fa-user"></i> <?php echo $view['translator']->trans("Login"); ?></h3>
                                    <a href="<?php echo $view['router']->generate('register', array(), true); ?>"><span><?php echo $view['translator']->trans("Need an account?"); ?></span></a><br>
                                </center>
                            </div>
                            <div class="form-group">
                                <input class="form-control" placeholder="<?php echo $view['translator']->trans("UserName"); ?>" id="user_name" name="user_name" type="text" required autofocus>
                            </div>
                            <div class="form-group">
                                <input class="form-control" placeholder="<?php echo $view['translator']->trans("Password"); ?>" id="password" name="password" type="password" required>
                            </div>
                            <button type="submit" class="btn btn-danger"><?php echo $view['translator']->trans("Login"); ?></button>
                        </fieldset>
                    </form>
                </div>
            </div>
        </div>
    </div>
</div><!--/.row-->
</div>
</div>