@model MileageTraker.Web.Models.City

@{
    ViewBag.Title = "Create City";
}

<h2 class="center-content"><i class="fa fa-map"></i> @ViewBag.Title</h2>

@using (Html.BeginForm("Create", "City", FormMethod.Post, new { @class = "form-horizontal well center-content" }))
{
    @Html.Partial("_ValidationSummary")
    <fieldset>
	    <legend></legend>
		@Html.DisplayFor(m => m.County)
        @Html.HiddenFor(m => m.County)
        @Html.EditorFor(m => m.Name)
	    <div class="form-actions">
                <input type="submit" value="Create" class="btn btn-primary" />
        </div>
    </fieldset>
}
