templates/home/login.html.twig line 1

Open in your IDE?
  1. {% extends 'base.html.twig' %}
  2. {% block body %}
  3.     <div class="navbar navbar-default navbar-fixed-top">
  4.         <div class="container">
  5.             <div class="navbar-header">
  6.                 <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
  7.                     <span class="icon-bar"></span>
  8.                     <span class="icon-bar"></span>
  9.                     <span class="icon-bar"></span>
  10.                 </button>
  11.                 <a class="navbar-brand" href="#"><img src="/images/urlogo.png" width="100px" class="img-responsive"/></a>
  12.                 <ul class="nav navbar-nav navbar-right">
  13.                     <li><a href="/home/signup">Signup</a></li>
  14.                 </ul>
  15.             </div>
  16.         </div>
  17.     </div>
  18.     <div class="container">
  19.         <div class="row">
  20.             <div class="col-lg-4 col-lg-offset-4">
  21.                 <br/>
  22.                 <br/>
  23.                 <br/>
  24.                 {% if error is not empty %}
  25.                     <div class="alert alert-danger">{{ error }}</div>
  26.                 {% endif %}
  27.                 <br/>
  28.                 <form action="/home/login" class="form-signin" method="POST">
  29.                     <input type="hidden" name="_domkey" value="RkY4VFF3UmJGMVJTQlZjUVdnZ0FEVUZjQTBkTVZneGU="/>
  30.                     <input type="hidden" name="_action" value="login"/>
  31.                     <h2 class="form-signin-heading">Please sign in</h2>
  32.                     <label for="email" class="sr-only">Email address</label>
  33.                     <input type="email" id="email" name="email" class="form-control" placeholder="Email address" required autofocus>
  34.                     <label for="password" class="sr-only">Password</label>
  35.                     <input type="password" id="password" name="password" class="form-control" placeholder="Password" required>
  36.                     <div class="checkbox">
  37.                         <label>
  38.                             <input type="checkbox" value="remember-me" name="remember_me"> Remember me
  39.                         </label>
  40.                     </div>
  41.                     <button class="btn btn-lg btn-primary btn-block" type="submit">Sign in</button>
  42.                     <br/>
  43.                     <h5 align="center"><a href="/home/reset">Forgot Password ?</a></h5>
  44.                 </form>
  45.             </div>
  46.         </div>
  47.     </div>
  48.     <br/>
  49.     <br/>
  50. {% endblock %}