@using Orchard.ContentManagement; @{ var userCanRegister = @WorkContext.CurrentSite.As().UsersCanRegister; var enableLostPassword = @WorkContext.CurrentSite.As().EnableLostPassword; }

@Html.TitleForPage((string)Model.Title)

@T("Please enter your username and password.") @if(userCanRegister) { @Html.ActionLink(T("Register").Text, "Register") @T(" if you don't have an account.") } @if(enableLostPassword) {   @Html.ActionLink(T("Lost your Password?").Text, "RequestLostPassword") }

@Html.ValidationSummary(T("Login was unsuccessful. Please correct the errors and try again.").ToString()) @using (Html.BeginFormAntiForgeryPost(Url.Action("LogOn", new { ReturnUrl = Request.QueryString["ReturnUrl"] }))) { }