@{
    ViewData["Title"] = "Login";
}
@{
    Layout = "_basicLayout";
}

<link rel="stylesheet" type="text/css" href="/css/_Login.css">
<div id="logincard" class="card centered">
    <div class="card-body">
        <h5 class="card-title">Ingresar al Sistema          </h5>
        <form hx-post="/api/login" hx-target="#responce" hx-swap="innerHTML">
            <label for="Usuario">Usuario</label><br>
            <input type="text" id="Usuario" name="Usuario" required>
            <br>
            
            <label for="Contrasena">Contraseña</label><br>
            <input type="password" id="Contrasena" name="Contrasena" required>
            <br>
            <button type="submit">Ingresar</button>
        </form>
        <br>
        
        <div id="responce"></div>
    </div>
    
</div>