comparison Agendas/trunk/src/Agendas.Web/Views/Account/Register.cshtml @ 100:cc91817a4206

Merge
author jorge.rowies
date Sat, 04 Jun 2011 22:46:06 -0300
parents 1eb5a0e531bf
children
comparison
equal deleted inserted replaced
99:3027c64344bd 100:cc91817a4206
10 <script src="@Url.Content("~/Scripts/jquery.validate.min.js")" type="text/javascript"></script> 10 <script src="@Url.Content("~/Scripts/jquery.validate.min.js")" type="text/javascript"></script>
11 <script src="@Url.Content("~/Scripts/jquery.validate.unobtrusive.min.js")" type="text/javascript"></script> 11 <script src="@Url.Content("~/Scripts/jquery.validate.unobtrusive.min.js")" type="text/javascript"></script>
12 12
13 @using (Html.BeginForm()) { 13 @using (Html.BeginForm()) {
14 @Html.ValidationSummary(true, "Account creation was unsuccessful. Please correct the errors and try again.") 14 @Html.ValidationSummary(true, "Account creation was unsuccessful. Please correct the errors and try again.")
15 <div> 15 @Html.EditorForModel()
16 <fieldset> 16 <p>
17 <legend>Account Information</legend> 17 <input type="submit" value="Register" />
18 18 </p>
19 <div class="editor-label">
20 @Html.LabelFor(m => m.UserName)
21 </div>
22 <div class="editor-field">
23 @Html.TextBoxFor(m => m.UserName)
24 @Html.ValidationMessageFor(m => m.UserName)
25 </div>
26
27 <div class="editor-label">
28 @Html.LabelFor(m => m.Email)
29 </div>
30 <div class="editor-field">
31 @Html.TextBoxFor(m => m.Email)
32 @Html.ValidationMessageFor(m => m.Email)
33 </div>
34
35 <div class="editor-label">
36 @Html.LabelFor(m => m.Password)
37 </div>
38 <div class="editor-field">
39 @Html.PasswordFor(m => m.Password)
40 @Html.ValidationMessageFor(m => m.Password)
41 </div>
42
43 <div class="editor-label">
44 @Html.LabelFor(m => m.ConfirmPassword)
45 </div>
46 <div class="editor-field">
47 @Html.PasswordFor(m => m.ConfirmPassword)
48 @Html.ValidationMessageFor(m => m.ConfirmPassword)
49 </div>
50
51 <p>
52 <input type="submit" value="Register" />
53 </p>
54 </fieldset>
55 </div>
56 } 19 }