<header class="static-page-header">
        <h1 class="static-page-title">@Html.TitleForPage(T("Create a New Account").ToString())</h1>
        <p class="static-page-subtitle">@T("Use the form below to create a new account.")</p>
</header>

<p class="account-actions">@T("Passwords are required to be a minimum of {0} characters in length.", ViewData["PasswordLength"])</p>

@Html.ValidationSummary(T("Account creation was unsuccessful. Please correct the errors and try again.").ToString()) 

@using (Html.BeginFormAntiForgeryPost(Url.Action("Register", new { ReturnUrl = Request.QueryString["ReturnUrl"] }))) { 

        <div class="form-group">
            @Html.TextBox("username", "", new { placeholder = @T("Username") }) 
            @Html.ValidationMessage("username") 
        </div>
        
        <div class="form-group">
            @Html.TextBox("email", "", new { placeholder = @T("Email") }) 
            @Html.ValidationMessage("email") 
        </div>
        
        <div class="form-group">
            @Html.Password("password", "", new {placeholder = @T("Password")}) 
            @Html.ValidationMessage("password") 
        </div>
        
        <div class="form-group">
            @Html.Password("confirmPassword", "", new { placeholder = @T("Confirm Password") }) 
            @Html.ValidationMessage("confirmPassword") 
        </div>
        
        <button type="submit" class="btn btn-primary">@T("Register")</button>
 } 