Idea of the project: if someone wants to order a project development, here you can send an application.
@ModelType VehicleMaintenance.Web.VehicleViewModel
@Code
ViewData("Title") = "Create Vehicle"
Layout = "~/Views/Shared/_Layout.vbhtml"
End Code
<h2>Create Vehicle</h2>
<br/>
@Using (Html.BeginForm("CreateVehicle", "Vehicle", method:=FormMethod.Post))
@Html.AntiForgeryToken()
@<div class="form-horizontal">
@Html.ValidationSummary(True, "", New With {.class = "text-danger"})
<div class="form-group">
<div class="col-md-offset-2 col-md-10">
<label>Plate number</label>
@Html.TextBoxFor(Function(model) model.Number, New With {Key .class = "form-control", .placeholder = "Enter vehicle plate number"})
@Html.ValidationMessageFor(Function(model) model.Number, "", New With {Key .class = "text-danger"})
</div>
</div>
<div class="form-group">
<div class="col-md-offset-2 col-md-10">
<label>VIN</label>
@Html.TextBoxFor(Function(model) model.VIN, New With {Key .class = "form-control", .placeholder = "Enter vehicle VIN number"})
</div>
</div>
<div class="form-group">
<div class="col-md-offset-2 col-md-10">
<input type="submit" value="Create" class="btn btn-primary" />
</div>
</div>
</div>
End Using
<div>
@Html.ActionLink("Back to List", "Index", "Home")
</div>
@Section Scripts
@Scripts.Render("~/bundles/jqueryval")
End Section