@model HelloWorldMvcApp.Person
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Bootstrap 101 Template</title>
<link rel="stylesheet" href="//netdna.bootstrapcdn.com/bootstrap/3.1.1/css/bootstrap.min.css">
.field-validation-error {
<div class="col-md-6 col-md-offset-3">
<h1>Hello @(Model.Name ?? "Stranger")</h1>
@using (Html.BeginForm())
@Html.LabelFor(m => m.Name)
@Html.TextBoxFor(model => model.Name, new {@class="form-control"})
@Html.ValidationMessageFor(model => model.Name)
<button type="submit" class="btn btn-success submit">Submit</button>