Line 1: #pragma checksum "F:\websites\sigdal\prod\Views\Partials\ForgotPasswordForm.cshtml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "1A4F126956F182521F7184CD8778CF18FDF2A538"
Line 2: //------------------------------------------------------------------------------
Line 3: // <auto-generated>
Line 4: // This code was generated by a tool.
Line 5: // Runtime Version:4.0.30319.42000
Line 6: //
Line 7: // Changes to this file may cause incorrect behavior and will be lost if
Line 8: // the code is regenerated.
Line 9: // </auto-generated>
Line 10: //------------------------------------------------------------------------------
Line 11:
Line 12: namespace ASP {
Line 13: using System;
Line 14: using System.Collections.Generic;
Line 15: using System.IO;
Line 16: using System.Linq;
Line 17: using System.Net;
Line 18: using System.Web;
Line 19: using System.Web.Helpers;
Line 20: using System.Web.Security;
Line 21: using System.Web.UI;
Line 22: using System.Web.WebPages;
Line 23: using System.Web.Optimization;
Line 24: using Slimsy;
Line 25: using Our.Umbraco.PropertyConverters.Models;
Line 26: using Sigdal.WEB.Helpers;
Line 27: using System.Web.Mvc;
Line 28: using System.Web.Mvc.Ajax;
Line 29: using System.Web.Mvc.Html;
Line 30: using System.Web.Routing;
Line 31: using Umbraco.Web;
Line 32: using Umbraco.Core;
Line 33: using Umbraco.Core.Models;
Line 34: using Umbraco.Web.Mvc;
Line 35: using umbraco;
Line 36: using Examine;
Line 37: using Umbraco.Web.PublishedContentModels;
Line 38:
Line 39: #line 1 "F:\websites\sigdal\prod\Views\Partials\ForgotPasswordForm.cshtml"
Line 40: using Sigdal_2017.Web.Controllers.Surface;
Line 41:
Line 42: #line default
Line 43: #line hidden
Line 44:
Line 45:
Line 46: public class _Page_Views_Partials_ForgotPasswordForm_cshtml : System.Web.Mvc.WebViewPage<Sigdal.WEB.Models.ForgotPasswordModel> {
Line 47:
Line 48: #line hidden
Line 49:
Line 50: public _Page_Views_Partials_ForgotPasswordForm_cshtml() {
Line 51: }
Line 52:
Line 53: protected ASP.global_asax ApplicationInstance {
Line 54: get {
Line 55: return ((ASP.global_asax)(Context.ApplicationInstance));
Line 56: }
Line 57: }
Line 58:
Line 59: public override void Execute() {
Line 60:
Line 61: #line 3 "F:\websites\sigdal\prod\Views\Partials\ForgotPasswordForm.cshtml"
Line 62: if (!string.IsNullOrEmpty((string)TempData["success"]))Line 63: {Line 64:
Line 65:
Line 66: #line default
Line 67: #line hidden
Line 68: WriteLiteral(" <div");
Line 69:
Line 70: WriteLiteral(" class=\"alert alert-success\"");
Line 71:
Line 72: WriteLiteral("><strong>Info:</strong> ");
Line 73:
Line 74:
Line 75: #line 5 "F:\websites\sigdal\prod\Views\Partials\ForgotPasswordForm.cshtml"
Line 76: Write(TempData["success"]);
Line 77:
Line 78:
Line 79: #line default
Line 80: #line hidden
Line 81: WriteLiteral("</div>\n");
Line 82:
Line 83:
Line 84: #line 6 "F:\websites\sigdal\prod\Views\Partials\ForgotPasswordForm.cshtml"
Line 85: }Line 86:
Line 87:
Line 88: #line default
Line 89: #line hidden
Line 90: WriteLiteral("\n");
Line 91:
Line 92:
Line 93: #line 8 "F:\websites\sigdal\prod\Views\Partials\ForgotPasswordForm.cshtml"
Line 94: if (!string.IsNullOrEmpty(ViewBag.error))Line 95: {Line 96:
Line 97:
Line 98: #line default
Line 99: #line hidden
Line 100: WriteLiteral(" <div");
Line 101:
Line 102: WriteLiteral(" class=\"alert alert-danger\"");
Line 103:
Line 104: WriteLiteral("><strong>Info:</strong> ");
Line 105:
Line 106:
Line 107: #line 10 "F:\websites\sigdal\prod\Views\Partials\ForgotPasswordForm.cshtml"
Line 108: Write(ViewBag.error);
Line 109:
Line 110:
Line 111: #line default
Line 112: #line hidden
Line 113: WriteLiteral("</div>\n");
Line 114:
Line 115:
Line 116: #line 11 "F:\websites\sigdal\prod\Views\Partials\ForgotPasswordForm.cshtml"
Line 117: Line 118: }Line 119:
Line 120:
Line 121: #line default
Line 122: #line hidden
Line 123:
Line 124: #line 13 "F:\websites\sigdal\prod\Views\Partials\ForgotPasswordForm.cshtml"
Line 125: using (Html.BeginUmbracoForm<UserSurfaceController>("ForgotPasswordSubmit", new { name = "UserRegistration", @class = "margin-top-15" }))Line 126: {Line 127:
Line 128:
Line 129: #line default
Line 130: #line hidden
Line 131: WriteLiteral(" <div");
Line 132:
Line 133: WriteLiteral(" class=\"form-group\"");
Line 134:
Line 135: WriteLiteral(">\n");
Line 136:
Line 137: WriteLiteral(" ");
Line 138:
Line 139:
Line 140: #line 16 "F:\websites\sigdal\prod\Views\Partials\ForgotPasswordForm.cshtml"
Line 141: Write(Html.TextBoxFor(model => model.Email, new { maxLength = 50, autocomplete = "off", placeholder = "E-post", @class = "form-control" }));
Line 142:
Line 143:
Line 144: #line default
Line 145: #line hidden
Line 146: WriteLiteral("\n");
Line 147:
Line 148: WriteLiteral(" ");
Line 149:
Line 150:
Line 151: #line 17 "F:\websites\sigdal\prod\Views\Partials\ForgotPasswordForm.cshtml"
Line 152: Write(Html.ValidationMessageFor(model => model.Email));
Line 153:
Line 154:
Line 155: #line default
Line 156: #line hidden
Line 157: WriteLiteral("\n </div>\n");
Line 158:
Line 159: WriteLiteral(" <div");
Line 160:
Line 161: WriteLiteral(" class=\"form-group\"");
Line 162:
Line 163: WriteLiteral(">\n <button");
Line 164:
Line 165: WriteLiteral(" type=\"submit\"");
Line 166:
Line 167: WriteLiteral(" class=\"btn btn-primary block full-width m-b\"");
Line 168:
Line 169: WriteLiteral(">Send nytt passord</button>\n </div>\n");
Line 170:
Line 171: WriteLiteral(" <div");
Line 172:
Line 173: WriteLiteral(" class=\"form-group\"");
Line 174:
Line 175: WriteLiteral(">\n <div>\n <a");
Line 176:
Line 177: WriteAttribute("href", Tuple.Create(" href=\"", 944), Tuple.Create("\"", 967)
Line 178:
Line 179: #line 24 "F:\websites\sigdal\prod\Views\Partials\ForgotPasswordForm.cshtml"
Line 180: , Tuple.Create(Tuple.Create("", 951), Tuple.Create<System.Object, System.Int32>(Model.LoginPage
Line 181:
Line 182: #line default
Line 183: #line hidden
Line 184: , 951), false)
Line 185: );
Line 186:
Line 187: WriteLiteral("><small>Tilbake til innlogging</small></a>\n </div>\n </div>\n");
Line 188:
Line 189:
Line 190: #line 27 "F:\websites\sigdal\prod\Views\Partials\ForgotPasswordForm.cshtml"
Line 191: }
Line 192:
Line 193: #line default
Line 194: #line hidden
Line 195: }
Line 196: }
Line 197: }
Line 198:
|