[Include file 'Partials/_LoadSprout.cshtml' not found in 'Templates/Designs/SeedsNZ/SeedsNZ_Page.cshtml']

Register

Please complete the details below in order to access our retailer only area where you can get the latest marketing information, along with pricing and up to date seed stocking rates.

Once we have received and processed your application, we will be in contact to confirm when access has been applied.  

Thank you.

Error compiling template "Designs/SeedsNZ/UserManagement/CreateProfile/Create.cshtml"
Line 63: The name 'NotificationHelper' does not exist in the current context

1 //------------------------------------------------------------------------------ 2 // <auto-generated> 3 // This code was generated by a tool. 4 // Runtime Version:4.0.30319.42000 5 // 6 // Changes to this file may cause incorrect behavior and will be lost if 7 // the code is regenerated. 8 // </auto-generated> 9 //------------------------------------------------------------------------------ 10 11 namespace CompiledRazorTemplates.Dynamic { 12 using System; 13 using System.Collections.Generic; 14 using System.Linq; 15 16 #line 2 "C:\home\site\wwwroot\Application\Files\Templates\Designs\SeedsNZ\UserManagement\CreateProfile\Create.cshtml" 17 using Dynamicweb.Configuration; 18 19 #line default 20 #line hidden 21 22 #line 3 "C:\home\site\wwwroot\Application\Files\Templates\Designs\SeedsNZ\UserManagement\CreateProfile\Create.cshtml" 23 using PgwSeeds.NotificationSubscribers; 24 25 #line default 26 #line hidden 27 28 29 public class RazorEngine_8dcd254274f9472d816df5f274cb7356 : Dynamicweb.Rendering.RazorTemplateBase<Dynamicweb.Rendering.RazorTemplateModel<Dynamicweb.Rendering.Template>> { 30 31 #line hidden 32 33 public RazorEngine_8dcd254274f9472d816df5f274cb7356() { 34 } 35 36 public override void Execute() { 37 WriteLiteral("\r\n<div"); 38 39 WriteLiteral(" class=\"wffm-wrap text-left wrap-md-offset-1-leftright\""); 40 41 WriteLiteral(">\r\n <div"); 42 43 WriteLiteral(" class=\"center-block\""); 44 45 WriteLiteral(">\r\n"); 46 47 WriteLiteral(" "); 48 49 50 #line 7 "C:\home\site\wwwroot\Application\Files\Templates\Designs\SeedsNZ\UserManagement\CreateProfile\Create.cshtml" 51 Write(GetValue("UserManagement:User.FormStart")); 52 53 54 #line default 55 #line hidden 56 WriteLiteral("\r\n <input"); 57 58 WriteLiteral(" type=\"hidden\""); 59 60 WriteAttribute("value", Tuple.Create(" value=\"", 373), Tuple.Create("\"", 412) 61 62 #line 8 "C:\home\site\wwwroot\Application\Files\Templates\Designs\SeedsNZ\UserManagement\CreateProfile\Create.cshtml" 63 , Tuple.Create(Tuple.Create("", 381), Tuple.Create<System.Object, System.Int32>(NotificationHelper.SeedsNZUser 64 65 #line default 66 #line hidden 67 , 381), false) 68 ); 69 70 WriteLiteral(" name=\"UserAndGroupTypeSystemName\""); 71 72 WriteLiteral(" />\r\n <input"); 73 74 WriteLiteral(" type=\"hidden\""); 75 76 WriteLiteral(" name=\"UserManagement_Form_ShopID\""); 77 78 WriteLiteral(" value=\"SHOP3\""); 79 80 WriteLiteral(">\r\n <input"); 81 82 WriteLiteral(" type=\"hidden\""); 83 84 WriteAttribute("name", Tuple.Create(" name=\"", 559), Tuple.Create("\"", 637) 85 86 #line 10 "C:\home\site\wwwroot\Application\Files\Templates\Designs\SeedsNZ\UserManagement\CreateProfile\Create.cshtml" 87 , Tuple.Create(Tuple.Create("", 566), Tuple.Create<System.Object, System.Int32>(GetValue("UserManagement:User.CustomField.AccessUser_ShopId.Input.ID") 88 89 #line default 90 #line hidden 91 , 566), false) 92 ); 93 94 WriteLiteral(" value=\"SHOP3\""); 95 96 WriteLiteral(">\r\n"); 97 98 99 #line 11 "C:\home\site\wwwroot\Application\Files\Templates\Designs\SeedsNZ\UserManagement\CreateProfile\Create.cshtml" 100 101 102 #line default 103 #line hidden 104 105 #line 11 "C:\home\site\wwwroot\Application\Files\Templates\Designs\SeedsNZ\UserManagement\CreateProfile\Create.cshtml" 106 107 var errors = GetLoop("FormValidationErrors"); 108 109 110 111 #line default 112 #line hidden 113 WriteLiteral(" <div"); 114 115 WriteLiteral(" class=\"has-error has-feedback\""); 116 117 WriteLiteral(">\r\n <div"); 118 119 WriteLiteral(" class=\"validation-summary-errors\""); 120 121 WriteLiteral(" data-valmsg-summary=\"true\""); 122 123 WriteLiteral(">\r\n\r\n <ul"); 124 125 WriteLiteral(" class=\"list-group\""); 126 127 WriteLiteral(">\r\n"); 128 129 130 #line 18 "C:\home\site\wwwroot\Application\Files\Templates\Designs\SeedsNZ\UserManagement\CreateProfile\Create.cshtml" 131 132 133 #line default 134 #line hidden 135 136 #line 18 "C:\home\site\wwwroot\Application\Files\Templates\Designs\SeedsNZ\UserManagement\CreateProfile\Create.cshtml" 137 foreach (var error in errors) 138 { 139 140 141 #line default 142 #line hidden 143 WriteLiteral(" <li"); 144 145 WriteLiteral(" class=\"list-group-item list-group-item-danger\""); 146 147 WriteLiteral(">"); 148 149 150 #line 20 "C:\home\site\wwwroot\Application\Files\Templates\Designs\SeedsNZ\UserManagement\CreateProfile\Create.cshtml" 151 Write(error.GetValue("UserManagement:User.FormValidationError.FieldNiceName")); 152 153 154 #line default 155 #line hidden 156 WriteLiteral(" "); 157 158 159 #line 20 "C:\home\site\wwwroot\Application\Files\Templates\Designs\SeedsNZ\UserManagement\CreateProfile\Create.cshtml" 160 Write(error.GetValue("UserManagement:User.FormValidationError.Message")); 161 162 163 #line default 164 #line hidden 165 WriteLiteral("</li>\r\n"); 166 167 168 #line 21 "C:\home\site\wwwroot\Application\Files\Templates\Designs\SeedsNZ\UserManagement\CreateProfile\Create.cshtml" 169 } 170 171 172 #line default 173 #line hidden 174 WriteLiteral(" "); 175 176 177 #line 22 "C:\home\site\wwwroot\Application\Files\Templates\Designs\SeedsNZ\UserManagement\CreateProfile\Create.cshtml" 178 if (errors.Count > 0) 179 { 180 181 182 #line default 183 #line hidden 184 WriteLiteral(" <li"); 185 186 WriteLiteral(" class=\"list-group-item list-group-item-danger\""); 187 188 WriteLiteral(" style=\"display:none\""); 189 190 WriteLiteral("> </li>\r\n"); 191 192 193 #line 25 "C:\home\site\wwwroot\Application\Files\Templates\Designs\SeedsNZ\UserManagement\CreateProfile\Create.cshtml" 194 } 195 196 197 #line default 198 #line hidden 199 WriteLiteral(" </ul>\r\n </div>\r\n </div>\r\n"); 200 201 202 #line 29 "C:\home\site\wwwroot\Application\Files\Templates\Designs\SeedsNZ\UserManagement\CreateProfile\Create.cshtml" 203 204 205 #line default 206 #line hidden 207 WriteLiteral("\r\n\r\n <fieldset>\r\n <legend>Personal Information</legend>\r\n " + 208 " <div"); 209 210 WriteLiteral(" class=\"row\""); 211 212 WriteLiteral(">\r\n <div"); 213 214 WriteLiteral(" class=\"col-md-12\""); 215 216 WriteLiteral(">\r\n"); 217 218 219 #line 35 "C:\home\site\wwwroot\Application\Files\Templates\Designs\SeedsNZ\UserManagement\CreateProfile\Create.cshtml" 220 221 222 #line default 223 #line hidden 224 225 #line 35 "C:\home\site\wwwroot\Application\Files\Templates\Designs\SeedsNZ\UserManagement\CreateProfile\Create.cshtml" 226 227 228 var firstNameErrors = errors.Where(x => x.GetString("UserManagement:User.FormValidationError.FieldNiceName") == "FirstName"); 229 var firstNameErrorClass = firstNameErrors.Count() > 0 ? "has-error" : string.Empty; 230 231 var lastNameErrors = errors.Where(x => x.GetString("UserManagement:User.FormValidationError.FieldNiceName") == "LastName"); 232 var lastNameErrorClass = lastNameErrors.Count() > 0 ? "has-error" : string.Empty; 233 234 var emailErrors = errors.Where(x => x.GetString("UserManagement:User.FormValidationError.FieldNiceName") == "Email"); 235 var emailErrorClass = emailErrors.Count() > 0 ? "has-error" : string.Empty; 236 var passwordErrors = errors.Where(x => x.GetString("UserManagement:User.FormValidationError.FieldNiceName") == "Password"); 237 var passwordErrorClass = passwordErrors.Count() > 0 ? "has-error" : string.Empty; 238 239 240 #line default 241 #line hidden 242 WriteLiteral("\r\n <div"); 243 244 WriteAttribute("class", Tuple.Create(" class=\"", 2776), Tuple.Create("\"", 2844) 245 , Tuple.Create(Tuple.Create("", 2784), Tuple.Create("required-field", 2784), true) 246 , Tuple.Create(Tuple.Create(" ", 2798), Tuple.Create("form-group", 2799), true) 247 , Tuple.Create(Tuple.Create(" ", 2809), Tuple.Create("has-feedback", 2810), true) 248 249 #line 48 "C:\home\site\wwwroot\Application\Files\Templates\Designs\SeedsNZ\UserManagement\CreateProfile\Create.cshtml" 250 , Tuple.Create(Tuple.Create(" ", 2822), Tuple.Create<System.Object, System.Int32>(firstNameErrorClass 251 252 #line default 253 #line hidden 254 , 2823), false) 255 , Tuple.Create(Tuple.Create(" ", 2843), Tuple.Create("", 2843), true) 256 ); 257 258 WriteLiteral(">\r\n <label"); 259 260 WriteAttribute("for", Tuple.Create(" for=\'", 2878), Tuple.Create("\'", 2936) 261 262 #line 49 "C:\home\site\wwwroot\Application\Files\Templates\Designs\SeedsNZ\UserManagement\CreateProfile\Create.cshtml" 263 , Tuple.Create(Tuple.Create("", 2884), Tuple.Create<System.Object, System.Int32>(GetValue("UserManagement:User.FirstName.InputName") 264 265 #line default 266 #line hidden 267 , 2884), false) 268 ); 269 270 WriteLiteral(" class=\"control-label\""); 271 272 WriteLiteral(">"); 273 274 275 #line 49 "C:\home\site\wwwroot\Application\Files\Templates\Designs\SeedsNZ\UserManagement\CreateProfile\Create.cshtml" 276 Write(Translate("First Name", "First Name")); 277 278 279 #line default 280 #line hidden 281 WriteLiteral("</label>\r\n <input"); 282 283 WriteAttribute("name", Tuple.Create(" name=\"", 3038), Tuple.Create("\"", 3097) 284 285 #line 50 "C:\home\site\wwwroot\Application\Files\Templates\Designs\SeedsNZ\UserManagement\CreateProfile\Create.cshtml" 286 , Tuple.Create(Tuple.Create("", 3045), Tuple.Create<System.Object, System.Int32>(GetValue("UserManagement:User.FirstName.InputName") 287 288 #line default 289 #line hidden 290 , 3045), false) 291 ); 292 293 WriteLiteral(" type=\"text\""); 294 295 WriteAttribute("id", Tuple.Create(" id=\"", 3110), Tuple.Create("\"", 3167) 296 297 #line 50 "C:\home\site\wwwroot\Application\Files\Templates\Designs\SeedsNZ\UserManagement\CreateProfile\Create.cshtml" 298 , Tuple.Create(Tuple.Create("", 3115), Tuple.Create<System.Object, System.Int32>(GetValue("UserManagement:User.FirstName.InputName") 299 300 #line default 301 #line hidden 302 , 3115), false) 303 ); 304 305 WriteAttribute("value", Tuple.Create("\r\n value=\"", 3168), Tuple.Create("\"", 3250) 306 307 #line 51 "C:\home\site\wwwroot\Application\Files\Templates\Designs\SeedsNZ\UserManagement\CreateProfile\Create.cshtml" 308 , Tuple.Create(Tuple.Create("", 3208), Tuple.Create<System.Object, System.Int32>(GetValue("UserManagement:User.FirstName") 309 310 #line default 311 #line hidden 312 , 3208), false) 313 ); 314 315 WriteLiteral(" class=\"form-control text-box single-line\""); 316 317 WriteLiteral(" data-val=\"true\""); 318 319 WriteLiteral(" data-val-length=\"The First Name field must be a string with a minimum length of " + 320 "0 and a maximum length of 256.\""); 321 322 WriteLiteral("\r\n data-val-length-max=\"256\""); 323 324 WriteLiteral(" data-val-required=\"The First Name field is required\""); 325 326 WriteLiteral(" />\r\n <span"); 327 328 WriteLiteral(" class=\"field-validation-valid help-block\""); 329 330 WriteLiteral(" data-valmsg-for=\""); 331 332 333 #line 53 "C:\home\site\wwwroot\Application\Files\Templates\Designs\SeedsNZ\UserManagement\CreateProfile\Create.cshtml" 334 Write(GetValue("UserManagement:User.FirstName.InputName")); 335 336 337 #line default 338 #line hidden 339 WriteLiteral("\""); 340 341 WriteLiteral(" data-valmsg-replace=\"true\""); 342 343 WriteLiteral("></span>\r\n </div>\r\n <div"); 344 345 WriteAttribute("class", Tuple.Create(" class=\"", 3768), Tuple.Create("\"", 3834) 346 , Tuple.Create(Tuple.Create("", 3776), Tuple.Create("required-field", 3776), true) 347 , Tuple.Create(Tuple.Create(" ", 3790), Tuple.Create("form-group", 3791), true) 348 , Tuple.Create(Tuple.Create(" ", 3801), Tuple.Create("has-feedback", 3802), true) 349 350 #line 55 "C:\home\site\wwwroot\Application\Files\Templates\Designs\SeedsNZ\UserManagement\CreateProfile\Create.cshtml" 351 , Tuple.Create(Tuple.Create(" ", 3814), Tuple.Create<System.Object, System.Int32>(lastNameErrorClass 352 353 #line default 354 #line hidden 355 , 3815), false) 356 ); 357 358 WriteLiteral(">\r\n <label"); 359 360 WriteAttribute("for", Tuple.Create(" for=\'", 3868), Tuple.Create("\'", 3925) 361 362 #line 56 "C:\home\site\wwwroot\Application\Files\Templates\Designs\SeedsNZ\UserManagement\CreateProfile\Create.cshtml" 363 , Tuple.Create(Tuple.Create("", 3874), Tuple.Create<System.Object, System.Int32>(GetValue("UserManagement:User.LastName.InputName") 364 365 #line default 366 #line hidden 367 , 3874), false) 368 ); 369 370 WriteLiteral(" class=\"control-label\""); 371 372 WriteLiteral(">"); 373 374 375 #line 56 "C:\home\site\wwwroot\Application\Files\Templates\Designs\SeedsNZ\UserManagement\CreateProfile\Create.cshtml" 376 Write(Translate("Last Name", "Last Name")); 377 378 379 #line default 380 #line hidden 381 WriteLiteral("</label>\r\n <input"); 382 383 WriteAttribute("name", Tuple.Create(" name=\"", 4025), Tuple.Create("\"", 4083) 384 385 #line 57 "C:\home\site\wwwroot\Application\Files\Templates\Designs\SeedsNZ\UserManagement\CreateProfile\Create.cshtml" 386 , Tuple.Create(Tuple.Create("", 4032), Tuple.Create<System.Object, System.Int32>(GetValue("UserManagement:User.LastName.InputName") 387 388 #line default 389 #line hidden 390 , 4032), false) 391 ); 392 393 WriteLiteral(" type=\"text\""); 394 395 WriteAttribute("id", Tuple.Create(" id=\"", 4096), Tuple.Create("\"", 4152) 396 397 #line 57 "C:\home\site\wwwroot\Application\Files\Templates\Designs\SeedsNZ\UserManagement\CreateProfile\Create.cshtml" 398 , Tuple.Create(Tuple.Create("", 4101), Tuple.Create<System.Object, System.Int32>(GetValue("UserManagement:User.LastName.InputName") 399 400 #line default 401 #line hidden 402 , 4101), false) 403 ); 404 405 WriteAttribute("value", Tuple.Create(" value=\"", 4153), Tuple.Create("\"", 4202) 406 407 #line 57 "C:\home\site\wwwroot\Application\Files\Templates\Designs\SeedsNZ\UserManagement\CreateProfile\Create.cshtml" 408 , Tuple.Create(Tuple.Create("", 4161), Tuple.Create<System.Object, System.Int32>(GetValue("UserManagement:User.LastName") 409 410 #line default 411 #line hidden 412 , 4161), false) 413 ); 414 415 WriteLiteral(" class=\"form-control text-box single-line\""); 416 417 WriteLiteral("\r\n data-val=\"true\""); 418 419 WriteLiteral(" data-val-length=\"The Last Name field must be a string with a minimum length of 0" + 420 " and a maximum length of 256.\""); 421 422 WriteLiteral(" data-val-length-max=\"256\""); 423 424 WriteLiteral(" data-val-required=\"The Last Name field is required.\""); 425 426 WriteLiteral(" />\r\n <span"); 427 428 WriteLiteral(" class=\"field-validation-valid help-block\""); 429 430 WriteLiteral(" data-valmsg-for=\""); 431 432 433 #line 59 "C:\home\site\wwwroot\Application\Files\Templates\Designs\SeedsNZ\UserManagement\CreateProfile\Create.cshtml" 434 Write(GetValue("UserManagement:User.LastName.InputName")); 435 436 437 #line default 438 #line hidden 439 WriteLiteral("\""); 440 441 WriteLiteral(" data-valmsg-replace=\"true\""); 442 443 WriteLiteral("></span>\r\n </div>\r\n <div"); 444 445 WriteLiteral(" class=\"required-field form-group has-feedback\""); 446 447 WriteLiteral(">\r\n <label"); 448 449 WriteAttribute("for", Tuple.Create(" for=\'", 4798), Tuple.Create("\'", 4852) 450 451 #line 62 "C:\home\site\wwwroot\Application\Files\Templates\Designs\SeedsNZ\UserManagement\CreateProfile\Create.cshtml" 452 , Tuple.Create(Tuple.Create("", 4804), Tuple.Create<System.Object, System.Int32>(GetValue("UserManagement:User.Email.InputName") 453 454 #line default 455 #line hidden 456 , 4804), false) 457 ); 458 459 WriteLiteral(" class=\"control-label\""); 460 461 WriteLiteral(">"); 462 463 464 #line 62 "C:\home\site\wwwroot\Application\Files\Templates\Designs\SeedsNZ\UserManagement\CreateProfile\Create.cshtml" 465 Write(Translate("Email Address", "Email Address")); 466 467 468 #line default 469 #line hidden 470 WriteLiteral("</label>\r\n <input"); 471 472 WriteAttribute("name", Tuple.Create(" name=\"", 4960), Tuple.Create("\"", 5015) 473 474 #line 63 "C:\home\site\wwwroot\Application\Files\Templates\Designs\SeedsNZ\UserManagement\CreateProfile\Create.cshtml" 475 , Tuple.Create(Tuple.Create("", 4967), Tuple.Create<System.Object, System.Int32>(GetValue("UserManagement:User.Email.InputName") 476 477 #line default 478 #line hidden 479 , 4967), false) 480 ); 481 482 WriteLiteral(" type=\"text\""); 483 484 WriteAttribute("id", Tuple.Create(" id=\"", 5028), Tuple.Create("\"", 5081) 485 486 #line 63 "C:\home\site\wwwroot\Application\Files\Templates\Designs\SeedsNZ\UserManagement\CreateProfile\Create.cshtml" 487 , Tuple.Create(Tuple.Create("", 5033), Tuple.Create<System.Object, System.Int32>(GetValue("UserManagement:User.Email.InputName") 488 489 #line default 490 #line hidden 491 , 5033), false) 492 ); 493 494 WriteAttribute("value", Tuple.Create(" value=\"", 5082), Tuple.Create("\"", 5128) 495 496 #line 63 "C:\home\site\wwwroot\Application\Files\Templates\Designs\SeedsNZ\UserManagement\CreateProfile\Create.cshtml" 497 , Tuple.Create(Tuple.Create("", 5090), Tuple.Create<System.Object, System.Int32>(GetValue("UserManagement:User.Email") 498 499 #line default 500 #line hidden 501 , 5090), false) 502 ); 503 504 WriteLiteral(" class=\"form-control text-box single-line\""); 505 506 WriteLiteral("\r\n data-val=\"true\""); 507 508 WriteLiteral(" data-val-length=\"The Email Address field must be a string with a minimum length " + 509 "of 0 and a maximum length of 256.\""); 510 511 WriteLiteral(" data-val-length-max=\"256\""); 512 513 WriteLiteral(" data-val-regex=\"The Email Address field contains an invalid email address.\""); 514 515 WriteLiteral(" data-val-regex-pattern=\"^[A-Za-z0-9._%+-]+"); 516 517 WriteLiteral("@[A-Za-z0-9.-]+\\.[A-Za-z]{2,17}$\""); 518 519 WriteLiteral(" data-val-required=\"The Email Address field is required.\""); 520 521 WriteLiteral(" />\r\n <span"); 522 523 WriteLiteral(" class=\"field-validation-valid help-block\""); 524 525 WriteLiteral(" data-valmsg-for=\""); 526 527 528 #line 65 "C:\home\site\wwwroot\Application\Files\Templates\Designs\SeedsNZ\UserManagement\CreateProfile\Create.cshtml" 529 Write(GetValue("UserManagement:User.Email.InputName")); 530 531 532 #line default 533 #line hidden 534 WriteLiteral("\""); 535 536 WriteLiteral(" data-valmsg-replace=\"true\""); 537 538 WriteLiteral("></span>\r\n <span"); 539 540 WriteLiteral(" class=\"help-block\""); 541 542 WriteLiteral(">Must be lowercase and will be used as your username</span>\r\n " + 543 "</div>\r\n <div"); 544 545 WriteLiteral(" class=\"required-field scfTelphoneBorder form-group has-feedback\""); 546 547 WriteLiteral(">\r\n <label"); 548 549 WriteAttribute("for", Tuple.Create(" for=\'", 6009), Tuple.Create("\'", 6063) 550 551 #line 69 "C:\home\site\wwwroot\Application\Files\Templates\Designs\SeedsNZ\UserManagement\CreateProfile\Create.cshtml" 552 , Tuple.Create(Tuple.Create("", 6015), Tuple.Create<System.Object, System.Int32>(GetValue("UserManagement:User.Phone.InputName") 553 554 #line default 555 #line hidden 556 , 6015), false) 557 ); 558 559 WriteLiteral(" class=\"control-label\""); 560 561 WriteLiteral(">"); 562 563 564 #line 69 "C:\home\site\wwwroot\Application\Files\Templates\Designs\SeedsNZ\UserManagement\CreateProfile\Create.cshtml" 565 Write(Translate("Contact Number", "Contact Number")); 566 567 568 #line default 569 #line hidden 570 WriteLiteral("</label>\r\n <input"); 571 572 WriteAttribute("name", Tuple.Create(" name=\"", 6173), Tuple.Create("\"", 6228) 573 574 #line 70 "C:\home\site\wwwroot\Application\Files\Templates\Designs\SeedsNZ\UserManagement\CreateProfile\Create.cshtml" 575 , Tuple.Create(Tuple.Create("", 6180), Tuple.Create<System.Object, System.Int32>(GetValue("UserManagement:User.Phone.InputName") 576 577 #line default 578 #line hidden 579 , 6180), false) 580 ); 581 582 WriteLiteral(" type=\"text\""); 583 584 WriteAttribute("id", Tuple.Create(" id=\"", 6241), Tuple.Create("\"", 6294) 585 586 #line 70 "C:\home\site\wwwroot\Application\Files\Templates\Designs\SeedsNZ\UserManagement\CreateProfile\Create.cshtml" 587 , Tuple.Create(Tuple.Create("", 6246), Tuple.Create<System.Object, System.Int32>(GetValue("UserManagement:User.Phone.InputName") 588 589 #line default 590 #line hidden 591 , 6246), false) 592 ); 593 594 WriteAttribute("value", Tuple.Create(" value=\"", 6295), Tuple.Create("\"", 6341) 595 596 #line 70 "C:\home\site\wwwroot\Application\Files\Templates\Designs\SeedsNZ\UserManagement\CreateProfile\Create.cshtml" 597 , Tuple.Create(Tuple.Create("", 6303), Tuple.Create<System.Object, System.Int32>(GetValue("UserManagement:User.Phone") 598 599 #line default 600 #line hidden 601 , 6303), false) 602 ); 603 604 WriteLiteral(" class=\"form-control text-box single-line\""); 605 606 WriteLiteral("\r\n data-val=\"true\""); 607 608 WriteLiteral(" data-val-length=\"The Contact Number field must be numeric with a minimum length " + 609 "of 0 and a maximum length of 20.\""); 610 611 WriteLiteral(" data-val-length-max=\"20\""); 612 613 WriteLiteral(" data-val-required=\"The Contact Number field is required.\""); 614 615 WriteLiteral(" />\r\n <span"); 616 617 WriteLiteral(" class=\"field-validation-valid help-block\""); 618 619 WriteLiteral(" data-valmsg-for=\""); 620 621 622 #line 72 "C:\home\site\wwwroot\Application\Files\Templates\Designs\SeedsNZ\UserManagement\CreateProfile\Create.cshtml" 623 Write(GetValue("UserManagement:User.Phone.InputName")); 624 625 626 #line default 627 #line hidden 628 WriteLiteral("\""); 629 630 WriteLiteral(" data-valmsg-replace=\"true\""); 631 632 WriteLiteral("></span>\r\n </div>\r\n\r\n\r\n </div>\r\n </d" + 633 "iv>\r\n </fieldset>\r\n <fieldset>\r\n <legend>Business Detai" + 634 "ls</legend>\r\n <p>Please provide your store details.</p>\r\n " + 635 "<div"); 636 637 WriteLiteral(" class=\"row\""); 638 639 WriteLiteral(">\r\n <div"); 640 641 WriteLiteral(" class=\"col-md-12\""); 642 643 WriteLiteral(">\r\n <div"); 644 645 WriteLiteral(" class=\"required-field form-group has-feedback\""); 646 647 WriteLiteral(">\r\n <label"); 648 649 WriteAttribute("for", Tuple.Create(" for=\'", 7204), Tuple.Create("\'", 7260) 650 651 #line 85 "C:\home\site\wwwroot\Application\Files\Templates\Designs\SeedsNZ\UserManagement\CreateProfile\Create.cshtml" 652 , Tuple.Create(Tuple.Create("", 7210), Tuple.Create<System.Object, System.Int32>(GetValue("UserManagement:User.Company.InputName") 653 654 #line default 655 #line hidden 656 , 7210), false) 657 ); 658 659 WriteLiteral(" class=\"control-label\""); 660 661 WriteLiteral(">Store Name</label>\r\n <input"); 662 663 WriteAttribute("name", Tuple.Create(" name=\"", 7334), Tuple.Create("\"", 7391) 664 665 #line 86 "C:\home\site\wwwroot\Application\Files\Templates\Designs\SeedsNZ\UserManagement\CreateProfile\Create.cshtml" 666 , Tuple.Create(Tuple.Create("", 7341), Tuple.Create<System.Object, System.Int32>(GetValue("UserManagement:User.Company.InputName") 667 668 #line default 669 #line hidden 670 , 7341), false) 671 ); 672 673 WriteLiteral(" type=\"text\""); 674 675 WriteAttribute("id", Tuple.Create(" id=\"", 7404), Tuple.Create("\"", 7459) 676 677 #line 86 "C:\home\site\wwwroot\Application\Files\Templates\Designs\SeedsNZ\UserManagement\CreateProfile\Create.cshtml" 678 , Tuple.Create(Tuple.Create("", 7409), Tuple.Create<System.Object, System.Int32>(GetValue("UserManagement:User.Company.InputName") 679 680 #line default 681 #line hidden 682 , 7409), false) 683 ); 684 685 WriteAttribute("value", Tuple.Create(" value=\"", 7460), Tuple.Create("\"", 7508) 686 687 #line 86 "C:\home\site\wwwroot\Application\Files\Templates\Designs\SeedsNZ\UserManagement\CreateProfile\Create.cshtml" 688 , Tuple.Create(Tuple.Create("", 7468), Tuple.Create<System.Object, System.Int32>(GetValue("UserManagement:User.Company") 689 690 #line default 691 #line hidden 692 , 7468), false) 693 ); 694 695 WriteLiteral(" class=\"form-control text-box single-line\""); 696 697 WriteLiteral("\r\n data-val=\"true\""); 698 699 WriteLiteral(" data-val-length=\"The Company Name field must be a string with a minimum length o" + 700 "f 0 and a maximum length of 256.\""); 701 702 WriteLiteral(" data-val-length-max=\"256\""); 703 704 WriteLiteral(" data-val-required=\"The Store Name field is required.\""); 705 706 WriteLiteral(" />\r\n <span"); 707 708 WriteLiteral(" class=\"field-validation-valid help-block\""); 709 710 WriteLiteral(" data-valmsg-for=\""); 711 712 713 #line 88 "C:\home\site\wwwroot\Application\Files\Templates\Designs\SeedsNZ\UserManagement\CreateProfile\Create.cshtml" 714 Write(GetValue("UserManagement:User.Company.InputName")); 715 716 717 #line default 718 #line hidden 719 WriteLiteral("\""); 720 721 WriteLiteral(" data-valmsg-replace=\"true\""); 722 723 WriteLiteral("></span>\r\n </div>\r\n <div"); 724 725 WriteLiteral(" class=\"address-finder form-group has-feedback \""); 726 727 WriteLiteral(">\r\n <label"); 728 729 WriteAttribute("for", Tuple.Create(" for=\'", 8108), Tuple.Create("\'", 8164) 730 731 #line 91 "C:\home\site\wwwroot\Application\Files\Templates\Designs\SeedsNZ\UserManagement\CreateProfile\Create.cshtml" 732 , Tuple.Create(Tuple.Create("", 8114), Tuple.Create<System.Object, System.Int32>(GetValue("UserManagement:User.Address.InputName") 733 734 #line default 735 #line hidden 736 , 8114), false) 737 ); 738 739 WriteLiteral(" class=\"control-label\""); 740 741 WriteLiteral(">Physical Business Address</label>\r\n <input"); 742 743 WriteAttribute("name", Tuple.Create(" name=\"", 8253), Tuple.Create("\"", 8310) 744 745 #line 92 "C:\home\site\wwwroot\Application\Files\Templates\Designs\SeedsNZ\UserManagement\CreateProfile\Create.cshtml" 746 , Tuple.Create(Tuple.Create("", 8260), Tuple.Create<System.Object, System.Int32>(GetValue("UserManagement:User.Address.InputName") 747 748 #line default 749 #line hidden 750 , 8260), false) 751 ); 752 753 WriteLiteral(" type=\"text\""); 754 755 WriteAttribute("id", Tuple.Create(" id=\"", 8323), Tuple.Create("\"", 8378) 756 757 #line 92 "C:\home\site\wwwroot\Application\Files\Templates\Designs\SeedsNZ\UserManagement\CreateProfile\Create.cshtml" 758 , Tuple.Create(Tuple.Create("", 8328), Tuple.Create<System.Object, System.Int32>(GetValue("UserManagement:User.Address.InputName") 759 760 #line default 761 #line hidden 762 , 8328), false) 763 ); 764 765 WriteAttribute("value", Tuple.Create(" value=\"", 8379), Tuple.Create("\"", 8427) 766 767 #line 92 "C:\home\site\wwwroot\Application\Files\Templates\Designs\SeedsNZ\UserManagement\CreateProfile\Create.cshtml" 768 , Tuple.Create(Tuple.Create("", 8387), Tuple.Create<System.Object, System.Int32>(GetValue("UserManagement:User.Address") 769 770 #line default 771 #line hidden 772 , 8387), false) 773 ); 774 775 WriteLiteral(" class=\"form-control text-box single-line ui-autocomplete-input\""); 776 777 WriteLiteral("\r\n data-val=\"true\""); 778 779 WriteLiteral(" data-val-length=\"The Postal Address field must be a string with a minimum length" + 780 " of 0 and a maximum length of 256.\""); 781 782 WriteLiteral(" data-val-length-max=\"256\""); 783 784 WriteLiteral(" />\r\n <span"); 785 786 WriteLiteral(" class=\"field-validation-valid help-block\""); 787 788 WriteLiteral(" data-valmsg-for=\""); 789 790 791 #line 94 "C:\home\site\wwwroot\Application\Files\Templates\Designs\SeedsNZ\UserManagement\CreateProfile\Create.cshtml" 792 Write(GetValue("UserManagement:User.Address.InputName")); 793 794 795 #line default 796 #line hidden 797 WriteLiteral("\""); 798 799 WriteLiteral(" data-valmsg-replace=\"true\""); 800 801 WriteLiteral("></span>\r\n </div>\r\n <div"); 802 803 WriteLiteral(" class=\"required-field address-finder form-group has-feedback \""); 804 805 WriteLiteral(">\r\n <label"); 806 807 WriteAttribute("for", Tuple.Create(" for=\'", 9012), Tuple.Create("\'", 9069) 808 809 #line 97 "C:\home\site\wwwroot\Application\Files\Templates\Designs\SeedsNZ\UserManagement\CreateProfile\Create.cshtml" 810 , Tuple.Create(Tuple.Create("", 9018), Tuple.Create<System.Object, System.Int32>(GetValue("UserManagement:User.Address2.InputName") 811 812 #line default 813 #line hidden 814 , 9018), false) 815 ); 816 817 WriteLiteral(" class=\"control-label\""); 818 819 WriteLiteral(">Postal Address</label>\r\n <input"); 820 821 WriteAttribute("name", Tuple.Create(" name=\"", 9147), Tuple.Create("\"", 9205) 822 823 #line 98 "C:\home\site\wwwroot\Application\Files\Templates\Designs\SeedsNZ\UserManagement\CreateProfile\Create.cshtml" 824 , Tuple.Create(Tuple.Create("", 9154), Tuple.Create<System.Object, System.Int32>(GetValue("UserManagement:User.Address2.InputName") 825 826 #line default 827 #line hidden 828 , 9154), false) 829 ); 830 831 WriteLiteral(" type=\"text\""); 832 833 WriteAttribute("id", Tuple.Create(" id=\"", 9218), Tuple.Create("\"", 9274) 834 835 #line 98 "C:\home\site\wwwroot\Application\Files\Templates\Designs\SeedsNZ\UserManagement\CreateProfile\Create.cshtml" 836 , Tuple.Create(Tuple.Create("", 9223), Tuple.Create<System.Object, System.Int32>(GetValue("UserManagement:User.Address2.InputName") 837 838 #line default 839 #line hidden 840 , 9223), false) 841 ); 842 843 WriteAttribute("value", Tuple.Create(" value=\"", 9275), Tuple.Create("\"", 9324) 844 845 #line 98 "C:\home\site\wwwroot\Application\Files\Templates\Designs\SeedsNZ\UserManagement\CreateProfile\Create.cshtml" 846 , Tuple.Create(Tuple.Create("", 9283), Tuple.Create<System.Object, System.Int32>(GetValue("UserManagement:User.Address2") 847 848 #line default 849 #line hidden 850 , 9283), false) 851 ); 852 853 WriteLiteral(" class=\"form-control text-box single-line ui-autocomplete-input\""); 854 855 WriteLiteral("\r\n data-val=\"true\""); 856 857 WriteLiteral(" data-val-length=\"The Postal Address field must be a string with a minimum length" + 858 " of 0 and a maximum length of 256.\""); 859 860 WriteLiteral(" data-val-length-max=\"256\""); 861 862 WriteLiteral(" data-val-required=\"The Postal Address field is required.\""); 863 864 WriteLiteral(" />\r\n <span"); 865 866 WriteLiteral(" class=\"field-validation-valid help-block\""); 867 868 WriteLiteral(" data-valmsg-for=\""); 869 870 871 #line 100 "C:\home\site\wwwroot\Application\Files\Templates\Designs\SeedsNZ\UserManagement\CreateProfile\Create.cshtml" 872 Write(GetValue("UserManagement:User.Address2.InputName")); 873 874 875 #line default 876 #line hidden 877 WriteLiteral("\""); 878 879 WriteLiteral(" data-valmsg-replace=\"true\""); 880 881 WriteLiteral("></span>\r\n </div>\r\n <div"); 882 883 WriteLiteral(" class=\"form-group has-feedback\""); 884 885 WriteLiteral(">\r\n <label"); 886 887 WriteAttribute("for", Tuple.Create(" for=\'", 9937), Tuple.Create("\'", 10031) 888 889 #line 103 "C:\home\site\wwwroot\Application\Files\Templates\Designs\SeedsNZ\UserManagement\CreateProfile\Create.cshtml" 890 , Tuple.Create(Tuple.Create("", 9943), Tuple.Create<System.Object, System.Int32>(GetValue("UserManagement:User.CustomField.AccessUser_SeedsNZ_RoleWithinStore.Input.ID") 891 892 #line default 893 #line hidden 894 , 9943), false) 895 ); 896 897 WriteLiteral(" class=\"control-label\""); 898 899 WriteLiteral("> "); 900 901 902 #line 103 "C:\home\site\wwwroot\Application\Files\Templates\Designs\SeedsNZ\UserManagement\CreateProfile\Create.cshtml" 903 Write(Translate("Role_within_store", "Role within Store")); 904 905 906 #line default 907 #line hidden 908 WriteLiteral("</label>\r\n <select"); 909 910 WriteLiteral(" class=\"form-control\""); 911 912 WriteAttribute("name", Tuple.Create(" name=\"", 10171), Tuple.Create("\"", 10266) 913 914 #line 104 "C:\home\site\wwwroot\Application\Files\Templates\Designs\SeedsNZ\UserManagement\CreateProfile\Create.cshtml" 915 , Tuple.Create(Tuple.Create("", 10178), Tuple.Create<System.Object, System.Int32>(GetValue("UserManagement:User.CustomField.AccessUser_SeedsNZ_RoleWithinStore.Input.ID") 916 917 #line default 918 #line hidden 919 , 10178), false) 920 ); 921 922 WriteAttribute("id", Tuple.Create(" id=\"", 10267), Tuple.Create("\"", 10360) 923 924 #line 104 "C:\home\site\wwwroot\Application\Files\Templates\Designs\SeedsNZ\UserManagement\CreateProfile\Create.cshtml" 925 , Tuple.Create(Tuple.Create("", 10272), Tuple.Create<System.Object, System.Int32>(GetValue("UserManagement:User.CustomField.AccessUser_SeedsNZ_RoleWithinStore.Input.ID") 926 927 #line default 928 #line hidden 929 , 10272), false) 930 ); 931 932 WriteLiteral(">\r\n <option"); 933 934 WriteLiteral(" value=\"\""); 935 936 WriteLiteral("></option>\r\n"); 937 938 939 #line 106 "C:\home\site\wwwroot\Application\Files\Templates\Designs\SeedsNZ\UserManagement\CreateProfile\Create.cshtml" 940 941 942 #line default 943 #line hidden 944 945 #line 106 "C:\home\site\wwwroot\Application\Files\Templates\Designs\SeedsNZ\UserManagement\CreateProfile\Create.cshtml" 946 foreach (var item in GetLoop("UserManagement:User.CustomField.AccessUser_SeedsNZ_RoleWithinStore.Options")) 947 { 948 949 950 #line default 951 #line hidden 952 WriteLiteral(" <option"); 953 954 WriteAttribute("value", Tuple.Create(" value=\"", 10628), Tuple.Create("\"", 10664) 955 956 #line 108 "C:\home\site\wwwroot\Application\Files\Templates\Designs\SeedsNZ\UserManagement\CreateProfile\Create.cshtml" 957 , Tuple.Create(Tuple.Create("", 10636), Tuple.Create<System.Object, System.Int32>(item.GetValue("Option.Key") 958 959 #line default 960 #line hidden 961 , 10636), false) 962 ); 963 964 WriteLiteral(">"); 965 966 967 #line 108 "C:\home\site\wwwroot\Application\Files\Templates\Designs\SeedsNZ\UserManagement\CreateProfile\Create.cshtml" 968 Write(item.GetValue("Option.Value")); 969 970 971 #line default 972 #line hidden 973 WriteLiteral("</option>\r\n"); 974 975 976 #line 109 "C:\home\site\wwwroot\Application\Files\Templates\Designs\SeedsNZ\UserManagement\CreateProfile\Create.cshtml" 977 } 978 979 980 #line default 981 #line hidden 982 WriteLiteral(" </select>\r\n </div>\r\n </" + 983 "div>\r\n\r\n </div>\r\n </fieldset>\r\n <fieldset>\r\n " + 984 " <legend>Password Information</legend>\r\n <div"); 985 986 WriteLiteral(" class=\"row\""); 987 988 WriteLiteral(">\r\n <div"); 989 990 WriteLiteral(" class=\"col-md-12\""); 991 992 WriteLiteral(">\r\n <div"); 993 994 WriteAttribute("class", Tuple.Create(" class=\"", 11035), Tuple.Create("\"", 11101) 995 , Tuple.Create(Tuple.Create("", 11043), Tuple.Create("required-field", 11043), true) 996 , Tuple.Create(Tuple.Create(" ", 11057), Tuple.Create("form-group", 11058), true) 997 , Tuple.Create(Tuple.Create(" ", 11068), Tuple.Create("has-feedback", 11069), true) 998 999 #line 120 "C:\home\site\wwwroot\Application\Files\Templates\Designs\SeedsNZ\UserManagement\CreateProfile\Create.cshtml" 1000 , Tuple.Create(Tuple.Create(" ", 11081), Tuple.Create<System.Object, System.Int32>(passwordErrorClass 1001 1002 #line default 1003 #line hidden 1004 , 11082), false) 1005 ); 1006 1007 WriteLiteral(">\r\n\r\n <label"); 1008 1009 WriteAttribute("for", Tuple.Create(" for=\'", 11137), Tuple.Create("\'", 11197) 1010 1011 #line 122 "C:\home\site\wwwroot\Application\Files\Templates\Designs\SeedsNZ\UserManagement\CreateProfile\Create.cshtml" 1012 , Tuple.Create(Tuple.Create("", 11143), Tuple.Create<System.Object, System.Int32>(GetValue("UserManagement:User.NewPassword.InputName") 1013 1014 #line default 1015 #line hidden 1016 , 11143), false) 1017 ); 1018 1019 WriteLiteral(" class=\"control-label\""); 1020 1021 WriteLiteral(">"); 1022 1023 1024 #line 122 "C:\home\site\wwwroot\Application\Files\Templates\Designs\SeedsNZ\UserManagement\CreateProfile\Create.cshtml" 1025 Write(Translate("password", "Password")); 1026 1027 1028 #line default 1029 #line hidden 1030 WriteLiteral("</label>\r\n <input"); 1031 1032 WriteAttribute("name", Tuple.Create(" name=\"", 11295), Tuple.Create("\"", 11356) 1033 1034 #line 123 "C:\home\site\wwwroot\Application\Files\Templates\Designs\SeedsNZ\UserManagement\CreateProfile\Create.cshtml" 1035 , Tuple.Create(Tuple.Create("", 11302), Tuple.Create<System.Object, System.Int32>(GetValue("UserManagement:User.NewPassword.InputName") 1036 1037 #line default 1038 #line hidden 1039 , 11302), false) 1040 ); 1041 1042 WriteLiteral(" type=\"password\""); 1043 1044 WriteAttribute("id", Tuple.Create(" id=\"", 11373), Tuple.Create("\"", 11432) 1045 1046 #line 123 "C:\home\site\wwwroot\Application\Files\Templates\Designs\SeedsNZ\UserManagement\CreateProfile\Create.cshtml" 1047 , Tuple.Create(Tuple.Create("", 11378), Tuple.Create<System.Object, System.Int32>(GetValue("UserManagement:User.NewPassword.InputName") 1048 1049 #line default 1050 #line hidden 1051 , 11378), false) 1052 ); 1053 1054 WriteAttribute("value", Tuple.Create(" value=\"", 11433), Tuple.Create("\"", 11485) 1055 1056 #line 123 "C:\home\site\wwwroot\Application\Files\Templates\Designs\SeedsNZ\UserManagement\CreateProfile\Create.cshtml" 1057 , Tuple.Create(Tuple.Create("", 11441), Tuple.Create<System.Object, System.Int32>(GetValue("UserManagement:User.NewPassword") 1058 1059 #line default 1060 #line hidden 1061 , 11441), false) 1062 ); 1063 1064 WriteLiteral(" class=\"form-control text-box single-line password\""); 1065 1066 WriteLiteral("\r\n data-val=\"true\""); 1067 1068 WriteLiteral(" data-val-length=\"The Password field must be at least 8 characters.\""); 1069 1070 WriteLiteral(" data-val-length-max=\"90\""); 1071 1072 WriteLiteral(" data-val-length-min=\"8\""); 1073 1074 WriteLiteral(" data-val-regex=\"Password must be at least 8 characters long and contain at least" + 1075 " one uppercase letter AND either a number or a special character.\""); 1076 1077 WriteLiteral(" data-val-regex-pattern=\"^(?=.*[a-z])(?=.*[A-Z0-9])(?=.*[A-Z\\\\!\\\\"); 1078 1079 WriteLiteral("@\\\\#\\\\$\\\\%\\\\;\\\\:\\\\,\\\\.\\\\?\\\\^\\\\&amp;\\\\*\\\\-\\\\_\\\\=\\\\+])(?=.*[0-9\\\\!\\\\"); 1080 1081 WriteLiteral("@\\\\#\\\\$\\\\%\\\\;\\\\:\\\\,\\\\.\\\\?\\\\^\\\\&amp;\\\\*\\\\-\\\\_\\\\=\\\\+])[a-zA-Z0-9\\\\!\\\\"); 1082 1083 WriteLiteral("@\\\\#\\\\$\\\\%\\\\;\\\\:\\\\,\\\\.\\\\?\\\\^\\\\&amp;\\\\*\\\\-\\\\_\\\\=\\\\+]{8,}\""); 1084 1085 WriteLiteral(" data-val-required=\"The Password field is required.\""); 1086 1087 WriteLiteral(" />\r\n <span"); 1088 1089 WriteLiteral(" class=\"field-validation-valid help-block\""); 1090 1091 WriteLiteral(" data-valmsg-for=\""); 1092 1093 1094 #line 125 "C:\home\site\wwwroot\Application\Files\Templates\Designs\SeedsNZ\UserManagement\CreateProfile\Create.cshtml" 1095 Write(GetValue("UserManagement:User.NewPassword.InputName")); 1096 1097 1098 #line default 1099 #line hidden 1100 WriteLiteral("\""); 1101 1102 WriteLiteral(" data-valmsg-replace=\"true\""); 1103 1104 WriteLiteral("></span>\r\n <span"); 1105 1106 WriteLiteral(" class=\"help-block\""); 1107 1108 WriteLiteral(">Password must be at least 8 characters long and contain at least one uppercase l" + 1109 "etter AND either a number or a special character.</span>\r\n\r\n " + 1110 " <label"); 1111 1112 WriteAttribute("for", Tuple.Create(" for=\'", 12563), Tuple.Create("\'", 12630) 1113 1114 #line 128 "C:\home\site\wwwroot\Application\Files\Templates\Designs\SeedsNZ\UserManagement\CreateProfile\Create.cshtml" 1115 , Tuple.Create(Tuple.Create("", 12569), Tuple.Create<System.Object, System.Int32>(GetValue("UserManagement:User.NewPasswordConfirm.InputName") 1116 1117 #line default 1118 #line hidden 1119 , 12569), false) 1120 ); 1121 1122 WriteLiteral(" class=\"control-label\""); 1123 1124 WriteLiteral(">"); 1125 1126 1127 #line 128 "C:\home\site\wwwroot\Application\Files\Templates\Designs\SeedsNZ\UserManagement\CreateProfile\Create.cshtml" 1128 Write(Translate("Confirm_password", "Confirmation")); 1129 1130 1131 #line default 1132 #line hidden 1133 WriteLiteral("</label>\r\n <input"); 1134 1135 WriteAttribute("name", Tuple.Create(" name=\"", 12740), Tuple.Create("\"", 12808) 1136 1137 #line 129 "C:\home\site\wwwroot\Application\Files\Templates\Designs\SeedsNZ\UserManagement\CreateProfile\Create.cshtml" 1138 , Tuple.Create(Tuple.Create("", 12747), Tuple.Create<System.Object, System.Int32>(GetValue("UserManagement:User.NewPasswordConfirm.InputName") 1139 1140 #line default 1141 #line hidden 1142 , 12747), false) 1143 ); 1144 1145 WriteLiteral(" type=\"password\""); 1146 1147 WriteAttribute("id", Tuple.Create(" id=\"", 12825), Tuple.Create("\"", 12891) 1148 1149 #line 129 "C:\home\site\wwwroot\Application\Files\Templates\Designs\SeedsNZ\UserManagement\CreateProfile\Create.cshtml" 1150 , Tuple.Create(Tuple.Create("", 12830), Tuple.Create<System.Object, System.Int32>(GetValue("UserManagement:User.NewPasswordConfirm.InputName") 1151 1152 #line default 1153 #line hidden 1154 , 12830), false) 1155 ); 1156 1157 WriteAttribute("value", Tuple.Create(" value=\"", 12892), Tuple.Create("\"", 12951) 1158 1159 #line 129 "C:\home\site\wwwroot\Application\Files\Templates\Designs\SeedsNZ\UserManagement\CreateProfile\Create.cshtml" 1160 , Tuple.Create(Tuple.Create("", 12900), Tuple.Create<System.Object, System.Int32>(GetValue("UserManagement:User.NewPasswordConfirm") 1161 1162 #line default 1163 #line hidden 1164 , 12900), false) 1165 ); 1166 1167 WriteLiteral(" class=\"form-control text-box single-line password\""); 1168 1169 WriteLiteral("\r\n data-val=\"true\""); 1170 1171 WriteLiteral(" data-val-equalto=\"The Password and Confirmation fields must be the same.\""); 1172 1173 WriteLiteral(" data-val-equalto-other=\""); 1174 1175 1176 #line 130 "C:\home\site\wwwroot\Application\Files\Templates\Designs\SeedsNZ\UserManagement\CreateProfile\Create.cshtml" 1177 Write(GetValue("UserManagement:User.NewPassword.InputName")); 1178 1179 1180 #line default 1181 #line hidden 1182 WriteLiteral("\""); 1183 1184 WriteLiteral(" />\r\n <span"); 1185 1186 WriteLiteral(" class=\"field-validation-valid help-block\""); 1187 1188 WriteLiteral(" data-valmsg-for=\""); 1189 1190 1191 #line 131 "C:\home\site\wwwroot\Application\Files\Templates\Designs\SeedsNZ\UserManagement\CreateProfile\Create.cshtml" 1192 Write(GetValue("UserManagement:User.NewPasswordConfirm.InputName")); 1193 1194 1195 #line default 1196 #line hidden 1197 WriteLiteral("\""); 1198 1199 WriteLiteral(" data-valmsg-replace=\"true\""); 1200 1201 WriteLiteral("></span>\r\n <span"); 1202 1203 WriteLiteral(" class=\"help-block\""); 1204 1205 WriteLiteral(">This field confirms that its value is that same as the Password field above.</sp" + 1206 "an>\r\n </div>\r\n </div>\r\n </div>\r\n " + 1207 " </fieldset>\r\n <fieldset>\r\n <legend>Captcha</legend>\r\n " + 1208 " <div"); 1209 1210 WriteLiteral(" class=\"row\""); 1211 1212 WriteLiteral(">\r\n <div"); 1213 1214 WriteLiteral(" class=\"col-md-12\""); 1215 1216 WriteLiteral(">\r\n <div"); 1217 1218 WriteLiteral(" class=\"form-group has-feedback\""); 1219 1220 WriteLiteral(">\r\n <label"); 1221 1222 WriteLiteral(" class=\"control-label\""); 1223 1224 WriteLiteral(">Please confirm you are not a robot.</label>\r\n"); 1225 1226 1227 #line 143 "C:\home\site\wwwroot\Application\Files\Templates\Designs\SeedsNZ\UserManagement\CreateProfile\Create.cshtml" 1228 1229 1230 #line default 1231 #line hidden 1232 1233 #line 143 "C:\home\site\wwwroot\Application\Files\Templates\Designs\SeedsNZ\UserManagement\CreateProfile\Create.cshtml" 1234 1235 var secretKey = SystemConfiguration.Instance.GetValue("/Globalsettings/Websites/ReCaptureSiteKey"); 1236 1237 1238 #line default 1239 #line hidden 1240 WriteLiteral("\r\n <div"); 1241 1242 WriteLiteral(" class=\"g-recaptcha\""); 1243 1244 WriteLiteral(" data-sitekey=\""); 1245 1246 1247 #line 146 "C:\home\site\wwwroot\Application\Files\Templates\Designs\SeedsNZ\UserManagement\CreateProfile\Create.cshtml" 1248 Write(secretKey); 1249 1250 1251 #line default 1252 #line hidden 1253 WriteLiteral("\""); 1254 1255 WriteLiteral(" data-theme=\"light\""); 1256 1257 WriteLiteral(" data-type=\"image\""); 1258 1259 WriteLiteral(">\r\n\r\n </div>\r\n <script"); 1260 1261 WriteLiteral(" src=\"https://www.google.com/recaptcha/api.js\""); 1262 1263 WriteLiteral("></script>\r\n </div>\r\n </div>\r\n </div" + 1264 ">\r\n </fieldset>\r\n <div"); 1265 1266 WriteLiteral(" class=\"form-submit-border\""); 1267 1268 WriteLiteral(">\r\n <button"); 1269 1270 WriteLiteral(" type=\"submit\""); 1271 1272 WriteLiteral(" id=\"submit\""); 1273 1274 WriteLiteral(" class=\"btn btn-default\""); 1275 1276 WriteLiteral(">"); 1277 1278 1279 #line 155 "C:\home\site\wwwroot\Application\Files\Templates\Designs\SeedsNZ\UserManagement\CreateProfile\Create.cshtml" 1280 Write(Translate("createnewuser", "Submit")); 1281 1282 1283 #line default 1284 #line hidden 1285 WriteLiteral("</button>\r\n\r\n\r\n\r\n\r\n </div>\r\n"); 1286 1287 WriteLiteral(" "); 1288 1289 1290 #line 161 "C:\home\site\wwwroot\Application\Files\Templates\Designs\SeedsNZ\UserManagement\CreateProfile\Create.cshtml" 1291 Write(GetValue("UserManagement:User.FormEnd")); 1292 1293 1294 #line default 1295 #line hidden 1296 WriteLiteral("\r\n </div>\r\n</div>\r\n\r\n"); 1297 1298 1299 #line 165 "C:\home\site\wwwroot\Application\Files\Templates\Designs\SeedsNZ\UserManagement\CreateProfile\Create.cshtml" 1300 Write(SnippetStart("StyleSheet")); 1301 1302 1303 #line default 1304 #line hidden 1305 WriteLiteral(@" 1306 <style> 1307 .validation-summary-errors > ul > li { 1308 background: #f35929; 1309 color: #fff; 1310 border: 0; 1311 border-radius: 0; 1312 padding: 10px 15px; 1313 padding-top: 0 1314 } 1315 1316 .validation-summary-errors > ul > li:nth-child(1) { 1317 padding-top: 10px 1318 } 1319 </style> 1320 "); 1321 1322 1323 #line 180 "C:\home\site\wwwroot\Application\Files\Templates\Designs\SeedsNZ\UserManagement\CreateProfile\Create.cshtml" 1324 Write(SnippetEnd("StyleSheet")); 1325 1326 1327 #line default 1328 #line hidden 1329 WriteLiteral("\r\n\r\n"); 1330 1331 } 1332 } 1333 } 1334

1 @inherits Dynamicweb.Rendering.RazorTemplateBase<Dynamicweb.Rendering.RazorTemplateModel<Dynamicweb.Rendering.Template>> 2 @using Dynamicweb.Configuration 3 @using PgwSeeds.NotificationSubscribers; 4 5 <div class="wffm-wrap text-left wrap-md-offset-1-leftright"> 6 <div class="center-block"> 7 @GetValue("UserManagement:User.FormStart") 8 <input type="hidden" value="@NotificationHelper.SeedsNZUser" name="UserAndGroupTypeSystemName" /> 9 <input type="hidden" name="UserManagement_Form_ShopID" value="SHOP3"> 10 <input type="hidden" name="@GetValue("UserManagement:User.CustomField.AccessUser_ShopId.Input.ID")" value="SHOP3"> 11 @{ 12 var errors = GetLoop("FormValidationErrors"); 13 14 <div class="has-error has-feedback"> 15 <div class="validation-summary-errors" data-valmsg-summary="true"> 16 17 <ul class="list-group"> 18 @foreach (var error in errors) 19 { 20 <li class="list-group-item list-group-item-danger">@error.GetValue("UserManagement:User.FormValidationError.FieldNiceName") @error.GetValue("UserManagement:User.FormValidationError.Message")</li> 21 } 22 @if (errors.Count > 0) 23 { 24 <li class="list-group-item list-group-item-danger" style="display:none"> </li> 25 } 26 </ul> 27 </div> 28 </div> 29 } 30 31 <fieldset> 32 <legend>Personal Information</legend> 33 <div class="row"> 34 <div class="col-md-12"> 35 @{ 36 37 var firstNameErrors = errors.Where(x => x.GetString("UserManagement:User.FormValidationError.FieldNiceName") == "FirstName"); 38 var firstNameErrorClass = firstNameErrors.Count() > 0 ? "has-error" : string.Empty; 39 40 var lastNameErrors = errors.Where(x => x.GetString("UserManagement:User.FormValidationError.FieldNiceName") == "LastName"); 41 var lastNameErrorClass = lastNameErrors.Count() > 0 ? "has-error" : string.Empty; 42 43 var emailErrors = errors.Where(x => x.GetString("UserManagement:User.FormValidationError.FieldNiceName") == "Email"); 44 var emailErrorClass = emailErrors.Count() > 0 ? "has-error" : string.Empty; 45 var passwordErrors = errors.Where(x => x.GetString("UserManagement:User.FormValidationError.FieldNiceName") == "Password"); 46 var passwordErrorClass = passwordErrors.Count() > 0 ? "has-error" : string.Empty; 47 } 48 <div class="required-field form-group has-feedback @firstNameErrorClass "> 49 <label for='@GetValue("UserManagement:User.FirstName.InputName")' class="control-label">@Translate("First Name", "First Name")</label> 50 <input name="@GetValue("UserManagement:User.FirstName.InputName")" type="text" id="@GetValue("UserManagement:User.FirstName.InputName")" 51 value="@GetValue("UserManagement:User.FirstName")" class="form-control text-box single-line" data-val="true" data-val-length="The First Name field must be a string with a minimum length of 0 and a maximum length of 256." 52 data-val-length-max="256" data-val-required="The First Name field is required" /> 53 <span class="field-validation-valid help-block" data-valmsg-for="@GetValue("UserManagement:User.FirstName.InputName")" data-valmsg-replace="true"></span> 54 </div> 55 <div class="required-field form-group has-feedback @lastNameErrorClass"> 56 <label for='@GetValue("UserManagement:User.LastName.InputName")' class="control-label">@Translate("Last Name", "Last Name")</label> 57 <input name="@GetValue("UserManagement:User.LastName.InputName")" type="text" id="@GetValue("UserManagement:User.LastName.InputName")" value="@GetValue("UserManagement:User.LastName")" class="form-control text-box single-line" 58 data-val="true" data-val-length="The Last Name field must be a string with a minimum length of 0 and a maximum length of 256." data-val-length-max="256" data-val-required="The Last Name field is required." /> 59 <span class="field-validation-valid help-block" data-valmsg-for="@GetValue("UserManagement:User.LastName.InputName")" data-valmsg-replace="true"></span> 60 </div> 61 <div class="required-field form-group has-feedback"> 62 <label for='@GetValue("UserManagement:User.Email.InputName")' class="control-label">@Translate("Email Address", "Email Address")</label> 63 <input name="@GetValue("UserManagement:User.Email.InputName")" type="text" id="@GetValue("UserManagement:User.Email.InputName")" value="@GetValue("UserManagement:User.Email")" class="form-control text-box single-line" 64 data-val="true" data-val-length="The Email Address field must be a string with a minimum length of 0 and a maximum length of 256." data-val-length-max="256" data-val-regex="The Email Address field contains an invalid email address." data-val-regex-pattern="^[A-Za-z0-9._%+-]+@@[A-Za-z0-9.-]+\.[A-Za-z]{2,17}$" data-val-required="The Email Address field is required." /> 65 <span class="field-validation-valid help-block" data-valmsg-for="@GetValue("UserManagement:User.Email.InputName")" data-valmsg-replace="true"></span> 66 <span class="help-block">Must be lowercase and will be used as your username</span> 67 </div> 68 <div class="required-field scfTelphoneBorder form-group has-feedback"> 69 <label for='@GetValue("UserManagement:User.Phone.InputName")' class="control-label">@Translate("Contact Number", "Contact Number")</label> 70 <input name="@GetValue("UserManagement:User.Phone.InputName")" type="text" id="@GetValue("UserManagement:User.Phone.InputName")" value="@GetValue("UserManagement:User.Phone")" class="form-control text-box single-line" 71 data-val="true" data-val-length="The Contact Number field must be numeric with a minimum length of 0 and a maximum length of 20." data-val-length-max="20" data-val-required="The Contact Number field is required." /> 72 <span class="field-validation-valid help-block" data-valmsg-for="@GetValue("UserManagement:User.Phone.InputName")" data-valmsg-replace="true"></span> 73 </div> 74 75 76 </div> 77 </div> 78 </fieldset> 79 <fieldset> 80 <legend>Business Details</legend> 81 <p>Please provide your store details.</p> 82 <div class="row"> 83 <div class="col-md-12"> 84 <div class="required-field form-group has-feedback"> 85 <label for='@GetValue("UserManagement:User.Company.InputName")' class="control-label">Store Name</label> 86 <input name="@GetValue("UserManagement:User.Company.InputName")" type="text" id="@GetValue("UserManagement:User.Company.InputName")" value="@GetValue("UserManagement:User.Company")" class="form-control text-box single-line" 87 data-val="true" data-val-length="The Company Name field must be a string with a minimum length of 0 and a maximum length of 256." data-val-length-max="256" data-val-required="The Store Name field is required." /> 88 <span class="field-validation-valid help-block" data-valmsg-for="@GetValue("UserManagement:User.Company.InputName")" data-valmsg-replace="true"></span> 89 </div> 90 <div class="address-finder form-group has-feedback "> 91 <label for='@GetValue("UserManagement:User.Address.InputName")' class="control-label">Physical Business Address</label> 92 <input name="@GetValue("UserManagement:User.Address.InputName")" type="text" id="@GetValue("UserManagement:User.Address.InputName")" value="@GetValue("UserManagement:User.Address")" class="form-control text-box single-line ui-autocomplete-input" 93 data-val="true" data-val-length="The Postal Address field must be a string with a minimum length of 0 and a maximum length of 256." data-val-length-max="256" /> 94 <span class="field-validation-valid help-block" data-valmsg-for="@GetValue("UserManagement:User.Address.InputName")" data-valmsg-replace="true"></span> 95 </div> 96 <div class="required-field address-finder form-group has-feedback "> 97 <label for='@GetValue("UserManagement:User.Address2.InputName")' class="control-label">Postal Address</label> 98 <input name="@GetValue("UserManagement:User.Address2.InputName")" type="text" id="@GetValue("UserManagement:User.Address2.InputName")" value="@GetValue("UserManagement:User.Address2")" class="form-control text-box single-line ui-autocomplete-input" 99 data-val="true" data-val-length="The Postal Address field must be a string with a minimum length of 0 and a maximum length of 256." data-val-length-max="256" data-val-required="The Postal Address field is required." /> 100 <span class="field-validation-valid help-block" data-valmsg-for="@GetValue("UserManagement:User.Address2.InputName")" data-valmsg-replace="true"></span> 101 </div> 102 <div class="form-group has-feedback"> 103 <label for='@GetValue("UserManagement:User.CustomField.AccessUser_SeedsNZ_RoleWithinStore.Input.ID")' class="control-label"> @Translate("Role_within_store", "Role within Store")</label> 104 <select class="form-control" name="@GetValue("UserManagement:User.CustomField.AccessUser_SeedsNZ_RoleWithinStore.Input.ID")" id="@GetValue("UserManagement:User.CustomField.AccessUser_SeedsNZ_RoleWithinStore.Input.ID")"> 105 <option value=""></option> 106 @foreach (var item in GetLoop("UserManagement:User.CustomField.AccessUser_SeedsNZ_RoleWithinStore.Options")) 107 { 108 <option value="@item.GetValue("Option.Key")">@item.GetValue("Option.Value")</option> 109 } 110 </select> 111 </div> 112 </div> 113 114 </div> 115 </fieldset> 116 <fieldset> 117 <legend>Password Information</legend> 118 <div class="row"> 119 <div class="col-md-12"> 120 <div class="required-field form-group has-feedback @passwordErrorClass"> 121 122 <label for='@GetValue("UserManagement:User.NewPassword.InputName")' class="control-label">@Translate("password", "Password")</label> 123 <input name="@GetValue("UserManagement:User.NewPassword.InputName")" type="password" id="@GetValue("UserManagement:User.NewPassword.InputName")" value="@GetValue("UserManagement:User.NewPassword")" class="form-control text-box single-line password" 124 data-val="true" data-val-length="The Password field must be at least 8 characters." data-val-length-max="90" data-val-length-min="8" data-val-regex="Password must be at least 8 characters long and contain at least one uppercase letter AND either a number or a special character." data-val-regex-pattern="^(?=.*[a-z])(?=.*[A-Z0-9])(?=.*[A-Z\\!\\@@\\#\\$\\%\\;\\:\\,\\.\\?\\^\\&amp;\\*\\-\\_\\=\\+])(?=.*[0-9\\!\\@@\\#\\$\\%\\;\\:\\,\\.\\?\\^\\&amp;\\*\\-\\_\\=\\+])[a-zA-Z0-9\\!\\@@\\#\\$\\%\\;\\:\\,\\.\\?\\^\\&amp;\\*\\-\\_\\=\\+]{8,}" data-val-required="The Password field is required." /> 125 <span class="field-validation-valid help-block" data-valmsg-for="@GetValue("UserManagement:User.NewPassword.InputName")" data-valmsg-replace="true"></span> 126 <span class="help-block">Password must be at least 8 characters long and contain at least one uppercase letter AND either a number or a special character.</span> 127 128 <label for='@GetValue("UserManagement:User.NewPasswordConfirm.InputName")' class="control-label">@Translate("Confirm_password", "Confirmation")</label> 129 <input name="@GetValue("UserManagement:User.NewPasswordConfirm.InputName")" type="password" id="@GetValue("UserManagement:User.NewPasswordConfirm.InputName")" value="@GetValue("UserManagement:User.NewPasswordConfirm")" class="form-control text-box single-line password" 130 data-val="true" data-val-equalto="The Password and Confirmation fields must be the same." data-val-equalto-other="@GetValue("UserManagement:User.NewPassword.InputName")" /> 131 <span class="field-validation-valid help-block" data-valmsg-for="@GetValue("UserManagement:User.NewPasswordConfirm.InputName")" data-valmsg-replace="true"></span> 132 <span class="help-block">This field confirms that its value is that same as the Password field above.</span> 133 </div> 134 </div> 135 </div> 136 </fieldset> 137 <fieldset> 138 <legend>Captcha</legend> 139 <div class="row"> 140 <div class="col-md-12"> 141 <div class="form-group has-feedback"> 142 <label class="control-label">Please confirm you are not a robot.</label> 143 @{ 144 var secretKey = SystemConfiguration.Instance.GetValue("/Globalsettings/Websites/ReCaptureSiteKey"); 145 } 146 <div class="g-recaptcha" data-sitekey="@secretKey" data-theme="light" data-type="image"> 147 148 </div> 149 <script src="https://www.google.com/recaptcha/api.js"></script> 150 </div> 151 </div> 152 </div> 153 </fieldset> 154 <div class="form-submit-border"> 155 <button type="submit" id="submit" class="btn btn-default">@Translate("createnewuser", "Submit")</button> 156 157 158 159 160 </div> 161 @GetValue("UserManagement:User.FormEnd") 162 </div> 163 </div> 164 165 @SnippetStart("StyleSheet") 166 <style> 167 .validation-summary-errors > ul > li { 168 background: #f35929; 169 color: #fff; 170 border: 0; 171 border-radius: 0; 172 padding: 10px 15px; 173 padding-top: 0 174 } 175 176 .validation-summary-errors > ul > li:nth-child(1) { 177 padding-top: 10px 178 } 179 </style> 180 @SnippetEnd("StyleSheet") 181 182

Share this page