@using SharpConnector.Models;
@model SharpConnector.Models.Login
@{
    Layout = "~/Views/Shared/_LoginLayout.cshtml";
    var username = "mlam007@faxcore.com.my";
    var password = "P@$$W0rd";
}


@using (Html.BeginForm("Index", "Login", FormMethod.Post, new { @id = "login_form", role = "form" }))
{
    <label class="full-label">Username</label>
    @Html.TextBoxFor(m => m.Username, new { @Value = username })
    <br>
    <br>

    <label class="full-label">Password</label>
    @Html.PasswordFor(m => m.Password, new { @Value = password })

    <br>
    <br>
    @Html.HiddenFor(m => m.AuthType, new { @Value = AuthType.Preset });
    <input type="submit" value="Login" class="right">
}