Mercurial > altnet-hispano
annotate Agendas/trunk/src/Agendas.Web/Views/Account/Register.cshtml @ 90:d1688622fa88
Autenticando con twitter (falta emprolijar el código, pero autentica!)
author | Nelo@Kenia.neluz.int |
---|---|
date | Fri, 03 Jun 2011 21:35:59 -0300 |
parents | 08dbe42fdde1 |
children | 1eb5a0e531bf |
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.RegisterModel |
10 | 2 <h2>Create a New Account</h2> |
3 <p> | |
4 Use the form below to create a new account. | |
5 </p> | |
6 <p> | |
7 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, "Account creation 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.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 } |