Mercurial > altnet-hispano
annotate Agendas/trunk/src/Agendas.Web/Views/Account/ChangePassword.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 |
rev | line source |
---|---|
34
475be11edf56
Ajuste en los nombre de los assemblies y namespaces
nelo@MTEySS.neluz.int
parents:
10
diff
changeset
|
1 @model AltNetHispano.Agendas.Web.Models.ChangePasswordModel |
10 | 2 <h2>Change Password</h2> |
3 <p> | |
4 Use the form below to change your password. | |
5 </p> | |
6 <p> | |
7 New passwords are required to be a minimum of @ViewBag.PasswordLength characters in length. | |
8 </p> | |
9 | |
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> | |
12 | |
13 @using (Html.BeginForm()) { | |
14 @Html.ValidationSummary(true, "Password change was unsuccessful. Please correct the errors and try again.") | |
15 <div> | |
16 <fieldset> | |
17 <legend>Account Information</legend> | |
18 | |
19 <div class="editor-label"> | |
20 @Html.LabelFor(m => m.OldPassword) | |
21 </div> | |
22 <div class="editor-field"> | |
23 @Html.PasswordFor(m => m.OldPassword) | |
24 @Html.ValidationMessageFor(m => m.OldPassword) | |
25 </div> | |
26 | |
27 <div class="editor-label"> | |
28 @Html.LabelFor(m => m.NewPassword) | |
29 </div> | |
30 <div class="editor-field"> | |
31 @Html.PasswordFor(m => m.NewPassword) | |
32 @Html.ValidationMessageFor(m => m.NewPassword) | |
33 </div> | |
34 | |
35 <div class="editor-label"> | |
36 @Html.LabelFor(m => m.ConfirmPassword) | |
37 </div> | |
38 <div class="editor-field"> | |
39 @Html.PasswordFor(m => m.ConfirmPassword) | |
40 @Html.ValidationMessageFor(m => m.ConfirmPassword) | |
41 </div> | |
42 | |
43 <p> | |
44 <input type="submit" value="Change Password" /> | |
45 </p> | |
46 </fieldset> | |
47 </div> | |
48 } |