|
|
- @model Sevomin.Models.SignupViewModel
- <div class="row">
- <div class="col-md-6">
- @using (Html.BeginForm("Signup", "Account", FormMethod.Post, new { role = "form" }))
- {
- <div class="form-group">
- @Html.LabelFor(m => m.Email)
- @Html.TextBoxFor(m => m.Email, new { @class = "form-control" })
- </div>
- <div class="form-group">
- @Html.LabelFor(m => m.DisplayName)
- @Html.TextBoxFor(m => m.DisplayName, new { @class = "form-control" })
- </div>
- <div class="form-group">
- @Html.LabelFor(m => m.Password)
- @Html.PasswordFor(m => m.Password, new { @class = "form-control" })
- </div>
- @Html.Hidden("IsAvalin", "true")
- <button type="submit" class="btn btn-default">Submit</button>
- }
- </div>
- <div class="col-md-6">
- @using (Html.BeginForm("Signup", "Account", FormMethod.Post, new { role = "form" }))
- {
- <div class="form-group">
- @Html.LabelFor(m => m.Email)
- @Html.TextBoxFor(m => m.Email, new { @class = "form-control" })
- </div>
- <div class="form-group">
- @Html.LabelFor(m => m.DisplayName)
- @Html.TextBoxFor(m => m.DisplayName, new { @class = "form-control" })
- </div>
- <div class="form-group">
- @Html.LabelFor(m => m.Password)
- @Html.PasswordFor(m => m.Password, new { @class = "form-control" })
- </div>
- @Html.Hidden("IsAvalin", "false")
- <button type="submit" class="btn btn-default">Submit</button>
- }
- </div>
- </div>
|