@model Yavsc.Models.Bank.BankIdentity
@{
    ViewData["Title"] = SR["Fill in your Bank Info"];
}

<h2>@ViewData["Title"].</h2>
<form asp-controller="Manage" asp-action="AddBankInfo" method="post" class="form-horizontal" role="form">
    <h4>Vous pouvez valider vos coordonnée bancaire ci après.</h4>
    
    <hr />
    <div asp-validation-summary="ValidationSummary.All" class="text-danger"></div>

    <fieldset>
    <div class="form-group">
        <label asp-for="BIC" class="col-md-2 control-label"></label>
        <div class="col-md-10">
            <input asp-for="BIC" class="form-control" />
            <span asp-validation-for="BIC" class="text-danger"></span>
        </div>
        <label asp-for="IBAN" class="col-md-2 control-label"></label>
        <div class="col-md-10">
            <input asp-for="IBAN" class="form-control" />
            <span asp-validation-for="IBAN" class="text-danger"></span>
        </div>
    </div>
    </fieldset>
    <fieldset>
    <div class="form-group">

        <label asp-for="AccountNumber" class="col-md-2 control-label"></label>
        <div class="col-md-10">
            <input asp-for="AccountNumber" class="form-control" />
            <span asp-validation-for="AccountNumber" class="text-danger"></span>
        </div>

        <label asp-for="BankCode" class="col-md-2 control-label"></label>
        <div class="col-md-10">
            <input asp-for="BankCode" class="form-control" />
            <span asp-validation-for="BankCode" class="text-danger"></span>
        </div>

        <label asp-for="WicketCode" class="col-md-2 control-label"></label>
        <div class="col-md-10">
            <input asp-for="WicketCode" class="form-control" />
            <span asp-validation-for="WicketCode" class="text-danger"></span>
        </div>

        <label asp-for="BankedKey" class="col-md-2 control-label"></label>
        <div class="col-md-10">
            <input asp-for="BankedKey" class="form-control" />
            <span asp-validation-for="BankedKey" class="text-danger"></span>
        </div>

    </div>
    </fieldset>
    <div class="form-group">
        <div class="col-md-offset-2 col-md-10">
            <button type="submit" class="btn btn-default">Enregistrer ces informations bancaires</button>
        </div>
    </div>
</form>

@section Scripts {
    @{ await Html.RenderPartialAsync("_ValidationScriptsPartial"); }
}
