@model SampleViewModel @{ Layout = null; } Bootstrap 101 Template

Hello Stranger

@using (Html.BeginForm()) {
@Html.LabelFor(m => m.Question) @Html.TextBoxFor(model => model.Question, new {@class="form-control",@type="number"}) @Html.ValidationMessageFor(model => model.Question)
}