comparison Agendas/trunk/src/Agendas.Web/Views/Account/Register.cshtml @ 96:1eb5a0e531bf

Funcionamiento con cuenta interna y con cuenta de twitter, falta unificar usuarios Estructura de aspnetdb dentro de base de datos de altnet hispano, se debe ejecutar: C:\Windows\Microsoft.NET\Framework\v2.0.50727\aspnet_regsql.exe para crear dicha estructura, de todas formas el objetivo seria tener una tabla de usuario y password interna, no parecería ser necesaria toda la estructura de aspnetdb
author Nelo@Kenia.neluz.int
date Sat, 04 Jun 2011 19:37:02 -0300
parents 08dbe42fdde1
children
comparison
equal deleted inserted replaced
95:83d76f6e0a3c 96:1eb5a0e531bf
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 }