Mercurial > altnet-hispano
annotate Agendas/trunk/src/Agendas.Web/Views/Account/LogOn.cshtml @ 37:90f0cab1febc
Sugerencia de resharper sobre optimización
author | nelo@MTEySS.neluz.int |
---|---|
date | Thu, 17 Mar 2011 17:04:03 -0300 |
parents | 475be11edf56 |
children | 08dbe42fdde1 |
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.LogOnModel |
10 | 2 |
3 @{ | |
4 ViewBag.Title = "Log On"; | |
5 } | |
6 | |
7 <h2>Log On</h2> | |
8 <p> | |
9 Please enter your username and password. @Html.ActionLink("Register", "Register") if you don't have an account. | |
10 </p> | |
11 | |
12 <script src="@Url.Content("~/Scripts/jquery.validate.min.js")" type="text/javascript"></script> | |
13 <script src="@Url.Content("~/Scripts/jquery.validate.unobtrusive.min.js")" type="text/javascript"></script> | |
14 | |
15 @Html.ValidationSummary(true, "Login was unsuccessful. Please correct the errors and try again.") | |
16 | |
17 @using (Html.BeginForm()) { | |
18 <div> | |
19 <fieldset> | |
20 <legend>Account Information</legend> | |
21 | |
22 <div class="editor-label"> | |
23 @Html.LabelFor(m => m.UserName) | |
24 </div> | |
25 <div class="editor-field"> | |
26 @Html.TextBoxFor(m => m.UserName) | |
27 @Html.ValidationMessageFor(m => m.UserName) | |
28 </div> | |
29 | |
30 <div class="editor-label"> | |
31 @Html.LabelFor(m => m.Password) | |
32 </div> | |
33 <div class="editor-field"> | |
34 @Html.PasswordFor(m => m.Password) | |
35 @Html.ValidationMessageFor(m => m.Password) | |
36 </div> | |
37 | |
38 <div class="editor-label"> | |
39 @Html.CheckBoxFor(m => m.RememberMe) | |
40 @Html.LabelFor(m => m.RememberMe) | |
41 </div> | |
42 | |
43 <p> | |
44 <input type="submit" value="Log On" /> | |
45 </p> | |
46 </fieldset> | |
47 </div> | |
48 } |