{% extends "base.html" %}

{% block content %}
<section class="enterprise-shell">
    <div class="enterprise-login-panel">
        <span class="scheduled-item-kicker">Acceso empresas</span>
        <h1>Plusdiario FRIOS</h1>
        <p class="muted">Ingreso local con el mismo usuario administrador del CRM.</p>

        {% if error %}
            <div class="alert">{{ error }}</div>
        {% endif %}

        <form action="/empresa/login" method="post" class="enterprise-form">
            <label>Email del CRM
                <input type="email" name="email" placeholder="admin@empresa.com" required autocomplete="username">
            </label>
            <label>Contrasena
                <input type="password" name="password" placeholder="Contrasena del CRM" required autocomplete="current-password">
            </label>
            <button type="submit">Ingresar</button>
        </form>
    </div>
</section>
{% endblock %}
