{% extends 'common/base-login.html.twig' %}
{% block form %}
<form class="form-horizontal" role="form" method="POST" action="{{ path('security_login_check') }}">
<div class="panel panel-body login-form no-padding" style="background-color: rgba(255, 255, 255, 0.87);">
{% if error %}
<div class="alert alert-danger text-center">
{{ error.messageKey|trans(error.messageData) }}
</div>
{% endif %}
<div class="panel-heading no-padding">
<img src="{{ asset('assets/images/platform/logo_mante_v1.png') }}" class="img-responsive">
</div>
<div class="text-center">
{#<div class="icon-object border-slate-300 text-slate-300"><i class="icon-reading"></i></div>#}
<h5 class="content-group">{% trans %}Login to your account{% endtrans %}<small class="display-block">{% trans %}Enter your credentials below{% endtrans %}</small></h5>
</div>
<div class="form-group has-feedback has-feedback-left" style="margin-left: 10px;margin-right: 10px;">
<input id="email" type="email" class="form-control" name="_email" value="{{ last_username }}" placeholder="Email">
<div class="form-control-feedback">
<i class="icon-user text-muted"></i>
</div>
</div>
<div class="form-group has-feedback has-feedback-left" style="margin-left: 10px;margin-right: 10px;">
<input id="password" type="password" class="form-control" name="_password" placeholder="Password">
<div class="form-control-feedback">
<i class="icon-lock2 text-muted"></i>
</div>
</div>
<div class="form-group text-center">
<button type="submit" class="btn btn-primary btn-small">{% trans %}Log in{% endtrans %}<i class="icon-circle-right2 position-right"></i></button>
</div>
<div class="text-center">
{#<a href="login_password_recover.html">{% trans %}Forgot password?{% endtrans %}</a>#}
</div>
</div>
</form>
{% endblock %}
{% block javascripts %}
<script type="text/javascript" src="{{ asset('assets/js/pages/login/login.js') }}"></script>
{% endblock %}