I know this is kind of a noob question but I have been given a project where I am not allowed to use scaffolding. I didnt auto generate this code but the form is being auto generated by this code.
<div class="row">
@Html.LabelFor(model => model.FirstName, "First Name")
@Html.TextBoxFor(model => model.FirstName)
@Html.ValidationMessageFor(model => model.FirstName)
</div>
<div class="row">
@Html.LabelFor(model => model.LastName, "Last Name")
@Html.TextBoxFor(model => model.LastName)
</div>
<div class="row">
@Html.LabelFor(model => model.Telephone, "Telephone")
@Html.TextBoxFor(model => model.Telephone)
</div>