.flaticon-bag:before { content: "\f100"; }
.flaticon-delivery-truck:before { content: "\f101"; }
.flaticon-facebook:before { content: "\f102"; }
.flaticon-twitter:before { content: "\f103"; }
.flaticon-pinterest:before { content: "\f104"; }
.flaticon-linkedin:before { content: "\f105"; }
.flaticon-email:before { content: "\f106"; }
.flaticon-call:before { content: "\f107"; }
.flaticon-user:before { content: "\f108"; }
.flaticon-shopping-cart:before { content: "\f109"; }
.flaticon-heart:before { content: "\f10a"; }
.flaticon-next:before { content: "\f10b"; }
.flaticon-left-arrow:before { content: "\f10c"; }
public ActionResult Create()
{
// Создавать здесь новый инстанс безполезно, поскольку мы сразу же уходим в рендер
return View();
}
@model AccountRegisterViewModel
<h2>
Register</h2>
@using (Html.BeginForm())
{
@Html.ValidationSummary()
<label>
Name
@Html.TextBoxFor(m => m.Form.Name)
</label>
<label>
State
@Html.DropDownListFor(m => m.Form.State, Model.StateSelectList)
</label>
<input type="submit" value="Register me" />
}