templates/login/login.html.twig line 1

Open in your IDE?
  1. {% extends 'common/base-login.html.twig' %}
  2. {% block form %}
  3.     <form class="form-horizontal" role="form" method="POST" action="{{ path('security_login_check') }}">
  4.         <div class="panel panel-body login-form no-padding" style="background-color: rgba(255, 255, 255, 0.87);">
  5.             {% if error %}
  6.                 <div class="alert alert-danger text-center">
  7.                     {{ error.messageKey|trans(error.messageData) }}
  8.                 </div>
  9.             {% endif %}
  10.             <div class="panel-heading no-padding">
  11.                 <img src="{{ asset('assets/images/platform/logo_mante_v1.png') }}" class="img-responsive">
  12.             </div>
  13.             <div class="text-center">
  14.                 {#<div class="icon-object border-slate-300 text-slate-300"><i class="icon-reading"></i></div>#}
  15.                 <h5 class="content-group">{% trans %}Login to your account{% endtrans %}<small class="display-block">{% trans %}Enter your credentials below{% endtrans %}</small></h5>
  16.             </div>
  17.             <div class="form-group has-feedback has-feedback-left"  style="margin-left: 10px;margin-right: 10px;">
  18.                 <input  id="email" type="email" class="form-control" name="_email" value="{{ last_username }}" placeholder="Email">
  19.                 <div class="form-control-feedback">
  20.                     <i class="icon-user text-muted"></i>
  21.                 </div>
  22.             </div>
  23.             <div class="form-group has-feedback has-feedback-left"  style="margin-left: 10px;margin-right: 10px;">
  24.                 <input id="password" type="password" class="form-control" name="_password" placeholder="Password">
  25.                 <div class="form-control-feedback">
  26.                     <i class="icon-lock2 text-muted"></i>
  27.                 </div>
  28.             </div>
  29.             <div class="form-group text-center">
  30.                 <button type="submit" class="btn btn-primary btn-small">{% trans %}Log in{% endtrans %}<i class="icon-circle-right2 position-right"></i></button>
  31.             </div>
  32.             <div class="text-center">
  33.                 {#<a href="login_password_recover.html">{% trans %}Forgot password?{% endtrans %}</a>#}
  34.             </div>
  35.         </div>
  36.     </form>
  37. {% endblock %}
  38. {% block javascripts %}
  39.     <script type="text/javascript" src="{{ asset('assets/js/pages/login/login.js') }}"></script>
  40. {% endblock %}