@if (!ViewData.ModelState.IsValid) {
@Html.ValidationSummary(true)
}
@using (Html.BeginForm("Signup", "Account", FormMethod.Post, new { role = "form" }))
{
@Html.AntiForgeryToken()
@Html.LabelFor(m => m.Email)
@Html.TextBoxFor(m => m.Email, new { @class = "form-control ltr" })
@Html.ValidationMessageFor(m => m.Email)
@Html.Label("نام شرکت")
@Html.TextBoxFor(m => m.DisplayName, new { @class = "form-control" })
@Html.ValidationMessageFor(m => m.DisplayName)
@Html.LabelFor(m => m.Password)
@Html.PasswordFor(m => m.Password, new { @class = "form-control ltr" })
@Html.ValidationMessageFor(m => m.Password)
@Html.Hidden("IsAvalin", "true")
}
@using (Html.BeginForm("Signup", "Account", FormMethod.Post, new { role = "form" }))
{
@Html.AntiForgeryToken()
@Html.LabelFor(m => m.Email)
@Html.TextBoxFor(m => m.Email, new { @class = "form-control ltr" })
@Html.ValidationMessageFor(m => m.Email)
@Html.Label("نام و نام خانوادگی")
@Html.TextBoxFor(m => m.DisplayName, new { @class = "form-control" })
@Html.ValidationMessageFor(m => m.DisplayName)
@Html.LabelFor(m => m.Password)
@Html.PasswordFor(m => m.Password, new { @class = "form-control ltr" })
@Html.ValidationMessageFor(m => m.Password)
@Html.Hidden("IsAvalin", "false")
}