1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47
| @ModelType Fiche_Budgetaire.Login
@Code
ViewData("Title") = "Connexion"
End Code
<h2>Demande de budget</h2>
@Using (Html.BeginForm())
@Html.AntiForgeryToken()
@<div class="form-horizontal">
<h4>Login</h4>
<hr />
@Html.ValidationSummary(True, "", New With { .class = "text-danger" })
<div class="form-group">
@Html.LabelFor(Function(model) model.UserName, htmlAttributes:= New With { .class = "control-label col-md-2" })
<div class="col-md-10">
@Html.EditorFor(Function(model) model.UserName, New With { .htmlAttributes = New With { .class = "form-control" } })
@Html.ValidationMessageFor(Function(model) model.UserName, "", New With { .class = "text-danger" })
</div>
</div>
<div class="form-group">
@Html.LabelFor(Function(model) model.Password, htmlAttributes:= New With { .class = "control-label col-md-2" })
<div class="col-md-10">
@Html.EditorFor(Function(model) model.Password, New With { .htmlAttributes = New With { .class = "form-control" } })
@Html.ValidationMessageFor(Function(model) model.Password, "", New With { .class = "text-danger" })
</div>
</div>
<div class="form-group">
@Html.LabelFor(Function(model) model.RememberMe, htmlAttributes:= New With { .class = "control-label col-md-2" })
<div class="col-md-10">
<div class="checkbox">
@Html.EditorFor(Function(model) model.RememberMe)
@Html.ValidationMessageFor(Function(model) model.RememberMe, "", New With { .class = "text-danger" })
</div>
</div>
</div>
<div class="form-group">
<div class="col-md-offset-2 col-md-10">
<input type="submit" value="Connexion" class="btn btn-default" />
</div>
</div>
</div>
End Using |
Partager